Home   Help Search Login Register  

Author Topic: "Choose respawn place" script  (Read 1356 times)

0 Members and 1 Guest are viewing this topic.

Serial Killer

  • Guest
"Choose respawn place" script
« on: 06 Jul 2005, 21:24:27 »
I need a "choose respawn place" script, when you can choose a respawn place from a few locations. (After dying) :)

Serial Killer

  • Guest
Re:"Choose respawn place" script
« Reply #1 on: 07 Jul 2005, 19:32:00 »
Anybody? :(

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:"Choose respawn place" script
« Reply #2 on: 10 Jul 2005, 11:07:51 »
Taking that your respawn type is to a marker "base" or = 3

you need to

1) Run a killed event handler on each unit that you want this system to work on

2) The event handler would then run a "Respawn script"

3) As part of this respawn script, i personally would do the following
..... a) Set my respawn to a safe non playing area location
..... b) use a cutscene to act as my respawn delay
..... c)
............either  Use the onsinglemapclick command to select a respawn (setpos) location (have markers and use distance marker to map click less than X = ok to setpos type thing
or
............ addaction  a list of respawn to "Location"

I would have an actual respawn delay of approx 1 second
This gives you enough scripting time if required to grab the weapons and ammo array from the dead unit etc but not enough time for the dead cam to take effect
« Last Edit: 10 Jul 2005, 11:10:19 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123