Page 1 of 1

Scripting problem.

Posted: Wed May 09, 2007 1:25 pm
by inferno
my script is (script <dormant>)(ai_command_list_advance <marineteleporter>)

but when i compile in sapien get this error

script type must be "startup" "dormant" "continuous" or "static" .: <dormant>)(ai_command_list_advance <marineteleporter>)


:x ive been trying too fix it but its being a bitch about it so help plz

Re: Scripting problem.

Posted: Wed May 09, 2007 9:38 pm
by kirby_422
inferno wrote:my script is (script <dormant>)(ai_command_list_advance <marineteleporter>)
well, you dont want the <>'s, they are manly markers to show variables

I dont know if that comand is a real once since im to lazy to look it up, but ill type what you have there into a usable form

Code: Select all

(script dormant bob
(ai_command_list_advance marineteleporters)
)
well, if you dont understand scripts, I am doubting you have a wake script to activate this lol, so check if that script I corrected for you is even a real comand, and then enjoy.

Posted: Mon May 14, 2007 12:46 pm
by inferno
1. the comand is a legit one i got it from a list i generated wth sapein of all the vaild commands. the commands tells a command list that is stoped on the "wait" command too advance too the next command when the script is activated.

2. i want this too work on a trigger. as in i walk into a trigger and it activates the script. could you give me a hint onto how thats done plz :wink:

Posted: Tue May 15, 2007 3:13 pm
by inferno
nevermind i gotit working all by myself :P check it out.

Code: Select all

(script startup tele
(sleep_until
(volume_test_objects trig_1
(players))15)
(ai_command_list_advance marineinfantry))
and

Code: Select all

(script startup No_fallout
(begin
(set rider_ejection 0)
)
)