Home   Help Search Login Register  

Author Topic: Eject script  (Read 1287 times)

0 Members and 1 Guest are viewing this topic.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Eject script
« Reply #15 on: 20 Jun 2003, 13:29:38 »
Yeah... either that or use a trigger... though:

@? (Player in _Jeep) : Goto "Action"

Should be just:

@ player in _Jeep

and similarily for the next line using @
The @ will wait for the condition specified to be true before moving on to the next line. You shouldn't be using a ? in there ;)

If you wanted to use a trigger, it would look something like this:

Trigger

Radius: 0,0
Condition: none (repeatedly)
Condition Field: (vehicle player) != player
OnActivation Field: (vehicle player) = veh; veh addaction addAction ["Hello", "hello.sqs"]  
OnDeactivation Field: veh removeaction 0

Offline Grinning_Giant

  • Members
  • *
  • Do not let them get away with it!
Re:Eject script
« Reply #16 on: 20 Jun 2003, 13:37:39 »
ah, hehe just noticed this reply... I edited my post

I tried afew combinations with the @ symbol and it didnt work.

I'd like to keep my scripts as small and tidy as possible, does anybody know of a good tutorial? I have used Johan Gustafsson's which taught me everything I know (almost) and Comrefs are very brief.