Search the Community
Showing results for tags 'deactivating'.
Found 1 result
-
Hello, I have been pulling my hair out the last couple of days trying to get this to work and I seem to really be stuck here. I am using JEBUS spawn script and have it where if I capture a place from Opfor then Opfor will spawn in the town over to launch an assault. After a certain time I'd like the assault to be called off but maybe in the future relaunch. In my first trigger activating the assault from AI I have this in the condition: Blufor Present Repeatable "!alive hq1 && This && random 1 < 0.5 && Attack1Trigger" A radio message attached says that Opfor are assaulting. In the second trigger covering the same area: Variable Name: OpForAss1 Blufor PresentRepeatable Condition: this Interval: 10 (For testing purposes) On Act: Attack1Trigger = True; publicVariable "Attack1Trigger"; Timeout: 10 seconds on all 3 inputs Third trigger covering the same area: Blufor Present Repeatable Condition: triggerActivated OpForAss1 Interval: 25 On Act: Attack1Trigger = False; publicVariable "Attack1Trigger"; Countdown: 25 seconds on all 3 inputs Radio message attached saying Opfor is no longer assaulting This does not repeat whenever I use the last trigger to change the variable to false. If I'm going about this completely wrong then by all means, please show me a way that is more efficient. I've been piecing this together the last few days from different threads on the internet over different problems since I try to exhaust my resources before making a thread about it on here. Thanks for any help and sorry in advance if I start asking some basic questions after these responses. Peace