OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Serial Killer on 16 Feb 2005, 19:13:11

Title: Deactivating timer
Post by: Serial Killer on 16 Feb 2005, 19:13:11
I made a trigger. When a resistance guy has been spotted, an alert timer will be activated "Alert=true". Then the player has 20 seconds time to destroy a radio. The timer must be deactivated, when the player destroyes that radio. How can I deactivate that timer?

Thanks!
Title: Re:Deactivating timer
Post by: Fragorl on 16 Feb 2005, 22:05:04
Condition=Alive radio && guyspotted
Activated by=TimeOut

Title: Re:Deactivating timer
Post by: Serial Killer on 17 Feb 2005, 13:30:10
Wtf? Anyway, one of my friends helped me..

Code: [Select]
~20
?(alive radio): variable = true
exit

Thanks to him :)
Title: Re:Deactivating timer
Post by: Serial Killer on 17 Feb 2005, 14:11:53
Crap! It isn't working, can anyone help me? :'(
Title: Re:Deactivating timer
Post by: Serial Killer on 17 Feb 2005, 14:37:57
Lol, he helped me again ;) I don't wanna tell how he did. MUAHAHAHAAA!!!