Jump to content
Sign in to follow this  
[aps]gnat

Detection of entering any vehicle

Recommended Posts

.... trying to detect "All Dead" on a Revive MP map. The detection must include the AI and the human players ...

Im nearly there except ..... I just discovered that players "disappear" from an "East Present" (PlayerAlive) trigger if they board a vehicle !!! *sigh* sad_o.gif

The side effect is I get an "All Dead" just because the last guy jumped in a vehicle.

Q: How can I detect if a named player has ENTERED ANY VEHICLE ?

(or is inside a vehicle inside a "Present" trigger ?)

I suspect it could be done if the vehicle was named and was manually placed into an array, to be searched .......... but thats way too hard with the number of vehicles I have !!

There's got to be an easier solution ........

Anyone?

Thx

Share this post


Link to post
Share on other sites

hmmmmm .... dropped that idea ....

Seem to have an answer with;

-Script-------------------------

#Loop

~15

..........

?((not isNull B8) and (!(B8 in list DeadA))) : goto "Loop"

?((not isNull B9) and (!(B9 in list DeadA))) : goto "Loop"

(... OK .... so everyone is dead ... end mission)

--------------------------------

Bx is the named players

The trigger circle "DeadA" covers the Respawn location where players (bodies) go while waiting to be revived.

The isNull is to check that the named "playable" spot is used either an AI or a human.

Gnat.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×