Home   Help Search Login Register  

Author Topic: Moving Respawns???  (Read 1005 times)

0 Members and 1 Guest are viewing this topic.

Teote

  • Guest
Moving Respawns???
« on: 30 Apr 2003, 04:01:03 »
I am making a sort-of Attack and Deffend Senerio for multi-player where one team is deffending the flag and when then other team scores they get a point and both teams switch sides. Everything works including moving the respawn makers, but when you respawn you still respawn in your current position.

Is it possible to move the respawn and change is so that you will respawn in the position you move it too, or is the respawn position set with the levels load and can not be changed? ???

Thanks for any help you guys can give me :cheers:

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Moving Respawns???
« Reply #1 on: 30 Apr 2003, 18:18:50 »
you can have a player respawn wherever you want him using any marker and a "setpos" command

You can do it the following way using a trigger and a simple script

Trigger is
Condition : Alive W1
where W1 is the name of the player

Act: [W1, "Markername"] exec "respawn.sqs"
************************************************************
;;respawn.sqs

_player = _this select 0
_respawn =_this select 1
_position = getMarkerpos _respawn
_player setpos _position
Exit
****************************************************************

All you need to do now is tweak it, so that it can cope with a changing respawn location
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Teote

  • Guest
Re:Moving Respawns???
« Reply #2 on: 30 Apr 2003, 22:08:31 »
Thanks Terox, I think I can use that script and make it work with it.

Thank You! :thumbsup:

Offline Doolittle

  • Contributing Member
  • **
  • _this select 0
Re:Moving Respawns???
« Reply #3 on: 06 May 2003, 16:16:36 »
Perhaps you were just moving the respawn marker on one players machine and not the others??

Doolittle