Jump to content
Sign in to follow this  
Scud

Premature ejection

Recommended Posts

Quote[/b] ]?(fuel vehicle _vehicle <=0) :cmd="EJECT"; "_x action [cmd,_vehicle]" foreach units _vehicle

I have this line in sqs file and as it reads it ejects (AI) occupants of plane when fueltanks are empty.

Works good but it also ejects pilots from other planes if flying same model in same mission.

? Is there a way round this.

Share this post


Link to post
Share on other sites

Use foreach crew _vehicle instead of ... units ....

Units always returns all units from a group, therefore everyone in the group ejects from his vehicle.

Share this post


Link to post
Share on other sites

Fantastic

Thanx

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  

×