Jump to content
Sign in to follow this  
Stubbinz

Possible to have allocated Respawns?

Recommended Posts

Was just wondering if i could have units have their own respawns or is it limited to just teh side using the respawn_west markers?

Share this post


Link to post
Share on other sites
Was just wondering if i could have units have their own respawns or is it limited to just teh side using the respawn_west markers?

What you do is have (make sure this is local to the player machine do to locality) setPos to the position you want to respawn at right after you respawn. Basically, in a respawn event handler (http://community.bistudio.com/wiki/addEventHandler) you have a line like

(_this select 0) setPos _customRespawnPosition;

(_this select 0) being your new person in the event handler.

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  

×