OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Messiah on 06 Jun 2003, 01:46:20
-
well... because i want to make an accurate mission and not make it too easy for the player, i want to puty a timer on the spy satelite script by vektorboson....
now heres what i've written so far:
#loop
1 setradiomsg "Spy Satelite"
Hint "Bird is overhead. Select satelite view by using Radio Alpha."
~40
Hint "Uplink Lost."
1 setradiomsg "null"
~60
goto "loop"
so basically every 60s the player can activate the spysatelite via radio alpha, and then has 40 secs before uplink is lost... the problem is, if the player is using the satelite (uses dialogues) then he can use it past the 40s mark... so i need to know what to add to kick the player off the satelite?
cheers (LCD, u'r pretty good at stuff like this ;) ]
-
add
closedialog 0
tel me if it works ;D
LCD OUT
-
cheers.... will try it now :D
-
works like a dream mate.... nice one :thumbsup: