Home   Help Search Login Register  

Author Topic: timer on spy satelite  (Read 465 times)

0 Members and 1 Guest are viewing this topic.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
timer on spy satelite
« 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:

Code: [Select]
#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  ;) ]
Proud Member of the Volunteer Commando Battalion

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:timer on spy satelite
« Reply #1 on: 06 Jun 2003, 01:59:50 »
add

closedialog 0

tel me if it works ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:timer on spy satelite
« Reply #2 on: 06 Jun 2003, 09:33:47 »
cheers.... will try it now  :D
Proud Member of the Volunteer Commando Battalion

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:timer on spy satelite
« Reply #3 on: 06 Jun 2003, 10:05:39 »
works like a dream mate.... nice one :thumbsup:
Proud Member of the Volunteer Commando Battalion