Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Sir Beaver

Unit stays synchronized after respawning

Recommended Posts

Hello everybody.

First, what I'm trying to do is to set up a respawn-compatible UAV with the BI UAV module in a Domination.

The setup is simple, until my guy gets killed.

Is it possible to synchronize him again with the UAV module?

I was thinking about this:

soldier1 addEventHandler ["killed", {"what-to-put-here?"}]

And this is how my guys data looks like in the mission.sqm:

				{
				position[]={4413.6274,15.254852,2176.4539};
				id=0;
				side="WEST";
				vehicle="A_Seal5m";
				player="PLAYER COMMANDER";
				leader=1;
				skill=0.60000002;
				synchronizations[]={2};
			};

All kind of help is much appreciated.

Share this post


Link to post
Share on other sites

i think there is no way to do it cause once game it's started sync a module is impossible execept if module is created in game by using "synchronizeObjectAdd" who work only like in exemple below :

_acm = _groupLogic createUnit ["AmbientCombatManager",position player,[],0,"NONE"];

_acm synchronizeObjectsAdd [player];

so the only way i think it's to use Norn Revive scipt & encourage ppl to revive them ^^

Share this post


Link to post
Share on other sites

you could try this at mission start:

_unit addMPEventHandler ["MPRespawn", {name_of_module synchronizeObjectsAdd [this];}];

Share this post


Link to post
Share on other sites
Sign in to follow this  

×