OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Hellbender on 29 Nov 2007, 00:17:01
-
Hi!
I need a trigger with an activation field "4" objStatus "DONE" once the condition is met. The condition is supposed to be NOT using the trigger!
The idea is that the player can call in support if he needs it, but that he will be punished by doing so. Naturally, calling other units to help will remove them from their mission. So, objective 4 will be "Failed" if he calls the support (already made this as another trigger) and it will be "DONE" if Radio Alpha is NOT called.
How do I do this syntax-wise in the condition field of the trigger?
-
u need 2 varibles and set em 2 false somewhere
like
LCDTrigUsed = false
LCDCheckNow = false
now in da condition of da triger ("4" objstatus "DONE") u put
LCDCheckNow and (not LCDTrigUsed)
now when u wanna put da done thing all u need 2 write is
LCDCheckNow = true;
and in da on activation of da radio trig u shud put
LCDTrigUsed = true
so it wont still put it as done if da trig was activated :D
hope its clear enough :D
LCD OUT
-
Yes, I get it now!
It works just fine! Thanks LCD!