Home   Help Search Login Register  

Author Topic: REspawn question?  (Read 1465 times)

0 Members and 1 Guest are viewing this topic.

zenman1

  • Guest
REspawn question?
« on: 18 Aug 2005, 00:48:59 »
I hope this isnt already posted somewhere coulnt find it.

Im wondering if you can make a respawn for a coop mission
that updates the respawn location when you complete an
objective? I know how to do Instant respawn and respawn
to a marker.

Thanks for any input on this.

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:REspawn question?
« Reply #1 on: 18 Aug 2005, 13:50:01 »
I know how to do respawn
to a marker.

Well, then all you have to do is create a game logic, name it newPosition and place it where you want the new respawn point.

Then move the marker - I will call it west_base in my example -  to the game logic using the following syntax:

"west_base" setmarkerpos getpos newPosition

EDIT: Beware the syntax, IÂ'm at work without testing oportunities. If it doesnÂ't work, try to add some brackets around (newposition).
« Last Edit: 18 Aug 2005, 13:59:07 by nominesine »
OFPEC | Intel Depot
RETARDED Ooops... Retired!

zenman1

  • Guest
Re:REspawn question?
« Reply #2 on: 19 Aug 2005, 02:43:55 »
where do i put the syntax? If I put it in the init field of gamelogic it respawns to gamelogic marker
skipping over the first respawn marker "west_base".

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:REspawn question?
« Reply #3 on: 19 Aug 2005, 16:19:09 »
use the following line in a trigger "on activation field" or a script exec by a trigger (the trigger being your objective completed trigger)


"respawn_west" setmarkerpos (getpos objectname)

or

"respawn_west" setmarkerpos (getmarkerpos "markername")
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

zenman1

  • Guest
Re:REspawn question?
« Reply #4 on: 20 Aug 2005, 19:33:33 »
the last syntax worked Great! Thanks you Guys Rock!!