Jump to content
InfamousNova

Trigger spawning respawn module

Recommended Posts

So i have been looking for a way to spawn a respawn module when there are friendlies inside of it. but i do not know how to do this because i cannot code whatsoever.

i also need the trigger to despawn a different respawn module at the same time

any help would be appreciated. 

Share this post


Link to post
Share on other sites
[west,"respawnPosition2"] call BIS_fnc_addRespawnPosition;
[west,"respawnPosition1"] call BIS_fnc_removeRespawnPosition;

respawnPosition1 and respawnPosition2 are marker names.

Share this post


Link to post
Share on other sites
[west,"respawnPosition2"] call BIS_fnc_addRespawnPosition;
[west,"respawnPosition1"] call BIS_fnc_removeRespawnPosition;

respawnPosition1 and respawnPosition2 are marker names.

 

do i put this in the activation for the trigger?

Share this post


Link to post
Share on other sites

do i put this in the activation for the trigger?

 

Yes, within the activation frame.

 

I did a test here, and with this command it creates a respawn point. 

[west,"respawnPosition2"] call BIS_fnc_addRespawnPosition;
 

But this command is here ...

[west,"respawnPosition1"] call BIS_fnc_removeRespawnPosition;
...showing this error.

lJVEuMq.jpg

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

×