
d4rfnader
Joined: Jul 16, 2010
Open mouth, insert sandwhich.
|
Posted: Sep 26, 2010 03:23 PM
Msg. 36 of 43
that first line error, that always displays along with the other errors i'm not sure why though, so fix the cutscene flag thing and see if that works.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 26, 2010 05:49 PM
Msg. 37 of 43
It stops reading code once it hits an error, so it never reads the final parentheses.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Sep 26, 2010 10:21 PM
Msg. 38 of 43
okay thanks guys. This scripting buisiness was really pissing me off and was about to switch to MoH modding. Took one look at it and thought f that.
And so a cutscene flag is just another name for a netgame flag or is it something different?
|
|
|

d4rfnader
Joined: Jul 16, 2010
Open mouth, insert sandwhich.
|
Posted: Sep 26, 2010 10:31 PM
Msg. 39 of 43
cutscene flags are for singleplayer maps and netgame flags are for mp maps.
|
|
|

darkassassin14
Joined: Jul 23, 2007
El. Psy. Congroo.
|
Posted: Sep 26, 2010 10:41 PM
Msg. 40 of 43
when you're in sapien go to game data and click flags. then create one with the correct names that are in the script then recompile the scripts and see.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Sep 28, 2010 11:39 PM
Msg. 41 of 43
ok thanks everyone my script now works and i have succesfully made mt first sp mission called "infiltration_v2" on damnation. Will release it with my others when I make them all now that i know i can script. I am now working on a deathisland sp with heaps of vehicles and aerial battles and stuff. Anyway: Two things:
1) gamma, can you tell me how to make the teleporter sound play when u go through a teleporter?
2) and is there a script command for: if flyer2 doesn't get in his banshee (flyer2shee), destroy flyer2shee
|
|
|

MoooseGuy
Joined: Aug 10, 2008
I Approve This Message.
|
Posted: Sep 29, 2010 05:38 AM
Msg. 42 of 43
#1 is:
(script continuous void teleportersound (sleep until (volume_test_objects TRIGGERVOLUMENAME (players) 10)) (sound_impulse_start sound\sfx\DIRECTORYFORTHESOUND none 1) )
I don't know #2.
Edited by MoooseGuy on Sep 29, 2010 at 05:38 AM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 29, 2010 07:54 PM
Msg. 43 of 43
(script startup destroyshee2 (sleep_until (condition) 15) (if (not (vehicle_test_seat flyer2shee "" flyer2)) (object_destroy flyer2shee) ) )
Replace condition with the condition you wish to wait for before checking whether he entered the shee or not.
|
|
|