Jump to content
sasan007

How do I activate trigger only if ammo box load in vehicles ?

Recommended Posts

 

I created a mission that should be controlled by the player in the second task , 

player must Load the ammo box in truck to complete the task, and i  try this condition in  trigger    ammo_1 in truck_1    but is not working . please help me

Share this post


Link to post
Share on other sites

It fails because ammo_1 isn't a unit (crewman).

wiki IN command

 

What is the object state of the ammo box when loaded?  Use that as a condition for checking.

For example, if the box object gets deleted when loaded: loaded = (isNull ammo_1).

 

Share this post


Link to post
Share on other sites
On 8/7/2017 at 4:07 AM, opusfmspol said:

It fails because ammo_1 isn't a unit (crewman).

wiki IN command

 

What is the object state of the ammo box when loaded?  Use that as a condition for checking.

For example, if the box object gets deleted when loaded: loaded = (isNull ammo_1).

 

is not workin , my truck name is truck_1  and i put this code in triger  loaded = (isNull ammo_1) but not working ! what can i do ? THANKS

Share this post


Link to post
Share on other sites

Try trigger condition:  isNull ammo_1

That should work if the box is getting deleted when loaded.

 

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

×