Home   Help Search Login Register  

Author Topic: Moving Respawn point.  (Read 1316 times)

0 Members and 1 Guest are viewing this topic.

Bad Maniac

  • Guest
Moving Respawn point.
« on: 17 Apr 2003, 17:26:24 »
How would I move the resawn point in a Co-Op MP game, through a trigger or other way.

In my mission, the players get heli dropped (finally working, thanks) on one island, then have to overcome an enemy infantry unit to steal a patrol boat to get to another island where the main objective is. (destroy a few anti air guns, hence they cant get air dropped on that island)
But once they have landed and disembarked on the second island, I'd like the respawn point to move to a point on the shore of that island, otherwise they'll respawn on the first island, but there is no boat to steal any more.

How could this be done?
Thanks in advance.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Moving Respawn point.
« Reply #1 on: 17 Apr 2003, 21:22:19 »
do you respawn at a marker? if you do you should just move the marker like this

"Markername" setMarkerPos [0,0,0]


Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Moving Respawn point.
« Reply #2 on: 17 Apr 2003, 21:23:34 »
As your respawn spot is marked with a marker called "wespawn_west" you can put

"respawn_west" setmarkerpos getmarkerpos "markername"

or

"respawn_west" setmarkerpos getpost "gamelogicname"

or

"respawn_west" setmarkerpos [x,y,z]

For example, make a trigger which detects that the units have reached the second island and in it's on activation field put "respawn_west" setmarkerpos getmarkerpos "second_respawn"

Then make a marker called "second_respawn" on the second island to a spot where you'd like your dudes to respawn to  ;D
Not all is lost.

Bad Maniac

  • Guest
Re:Moving Respawn point.
« Reply #3 on: 18 Apr 2003, 15:12:45 »
Awesome Artak, it works lie a charm  ;)
Thanks guys.