sasan007 0 Posted August 5, 2017 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
opusfmspol 282 Posted August 6, 2017 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
sasan007 0 Posted August 14, 2017 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
opusfmspol 282 Posted August 16, 2017 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