Jump to content
Sign in to follow this  
Ako

Moving respawn points ?

Recommended Posts

The mission i am curently creating is rather large, and i want the respawn point, (marker Respawn_West) to move when the players reach a certain point.

I set up a trigger at the location where i want the respawn to update, and in the activation used the command: Respawn_West SetMarkerPos [x,y,z] (i cant remember the co-o's]

I then tested in multiplayer, i went over the trigger, and killed myself, but it didnt work :|

So is it not possible to move the Respawn_West marker? or did i do something wrong?

Share this post


Link to post
Share on other sites

you most certainly can move the respawn zone... I think you're just making the same tiny mistake as everyone else would when scripting markers, not reading the command reference to the "letter".

The marker name needs quotes around it and that's all!! smile.gif

like this:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">"Respawn_West" SetMarkerPos (getpos unit)<span id='postcolor'>

unit is then an object or a person, if you don't want an object there you can do the empty marker style...

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">"Respawn_West" SetMarkerPos GetMarkerPos "emptymarker1"<span id='postcolor'>just remember those quotes "" with markers!

Share this post


Link to post
Share on other sites

Thanks for that!

ill have to try that soon. The reference guide ive got doesnt show that the quotes are needed *edits reference* Thanks biggrin.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×