OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: coutie on 23 Jul 2007, 22:31:19

Title: Moving respawn
Post by: coutie on 23 Jul 2007, 22:31:19
Hi everybody. I have a mission where the first objective is to capture the beach, but after you capture it I want you to respawn there because it is a long drive from the original starting point. So I guess I am trying to say is I want my respawn_guerrila marker (I am using skavens racs) to move to the beach once it has been captured. Thanks for any help.
Title: Re: Moving respawn
Post by: myke13021 on 24 Jul 2007, 00:57:28
Create a marker type icon/empty and name it i.e. beach_respawn.
then move the original respawn marker to that place:
Code: [Select]
"respawn_guerilla" setmarkerpos getmarkerpos "beach_respawn"
Title: Re: Moving respawn
Post by: coutie on 24 Jul 2007, 03:03:06
Do I put that code in trigger?
Title: Re: Moving respawn
Post by: myke13021 on 24 Jul 2007, 03:43:50
yes...make a trigger "enemy" (you know it) "not present" and size = the fighting area

in the on activation, put the above code.

oh and by the way...reading a few tutorials wouldn't hurt you.
Title: Re: Moving respawn
Post by: coutie on 24 Jul 2007, 03:53:40
Well I tried that and it didn't work, which is why I posted to see if I did it right.

edit**

I figured out why it didn't work, guerrila was spelled wrong.