Jump to content
Sign in to follow this  
Melmarkian

Sync First Aid modules after spawn/join

Recommended Posts

Hi,

Is there a way to sync the spawned and joined units to the first aid modules?

I found some older threads about the issue and wanted to ask if someone found a solution to the issue?

I can sync them to newly spawned and joined unit with new created modules and synchronizedObjectsAdd. The wounds work on them (Agony state) but the First Aid action shows up but doesn´t respond. Dragging and carrying works without problem.

Share this post


Link to post
Share on other sites

any updates on this?

---------- Post added at 01:51 PM ---------- Previous post was at 01:05 PM ----------

i got same issue in SP editor with synching to old module as melmarkian did, solved it by creating a new set of identical modules and instantly synching them to unit, the 0.5 second rule of synch.

all working, no issues on other units having synch to old mods, and new spawned unit works fine, tried with 3 total sets of all 3 firstaid mods active same time, seems to be no limit to amount on this.

Share this post


Link to post
Share on other sites

Thanks, I will test it.

Do you have an example? Because I thought I did it the same.

Share this post


Link to post
Share on other sites

parts taken out of preset loadouts v 1.51:

		_synch = synchronizedObjects _oldUnit;
	_fa = ["FirstAidSystem","AlternativeInjurySimulation","BattleFieldClearance"];
	{
		// first aid modules.
		if ((typeOf _x) in _fa) then {
			_grp = createGroup sideLogic;
			_logic = _grp createUnit [(typeOf _x),[0,0,0],[],0,"NONE"];
			_logic synchronizeObjectsAdd [_newUnit];
		};
	} foreach _synch;

Share this post


Link to post
Share on other sites

Hi,

I just noticed my issue is a different one:

The sync doesn´t work when new units join an existing group

Share this post


Link to post
Share on other sites

hmm will investigate this, i had all my units in seperate groups when doing the above.

but it should not matter really. as synch is not related to group in anyway.

Or maybe only leader can be synched, but there are threads describing otherwise so its guesswork at the moment.

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  

×