Jump to content
Sign in to follow this  
SGT Major Ray Jefferson

Create respawn leader and respawn leader position death

Recommended Posts

Hello a friend is looking to recreate the respawn system of the SOG dlc, the idea is that the players respawn on the leader and that the respawn leader be on a respawn create be on the place where he dies.

Any idea thank you I searched on the internet without success ?

Thanks

Share this post


Link to post
Share on other sites
On 2/7/2022 at 9:36 AM, SGT Major Ray Jefferson said:

Hello a friend is looking to recreate the respawn system of the SOG dlc, the idea is that the players respawn on the leader and that the respawn leader be on a respawn create be on the place where he dies.

Any idea thank you I searched on the internet without success ?

Thanks

I think this is what you are after and its pretty simple to do.
 

Put this in the init.sqf of the mission file just as you see it;
 

[West, S1] call BIS_fnc_addRespawnPosition;

 

Where West is the side (can be East etc...) and s1 is the Variable Name of the unit.

 

Put this in the init of the unit S1;

 

[west, s1] call bis_fnc_addrespawnposition;

 

You can have as many respawns as you want, just remember to change the names in the init and also the name of the units.

 

[west, s2] call bis_fnc_addrespawnposition;

[west, s3] call bis_fnc_addrespawnposition;

  • Like 1

Share this post


Link to post
Share on other sites
11 minutes ago, SGT Major Ray Jefferson said:

Thanks you.

 

It is customary to share your solution.

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  

×