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

Synchronise a module on trigger activation

Recommended Posts

Hey, I'm very new to the editing side of Arma. I have made a mission with two fireteams. Each fireteam leader is playable and each has a High command - commander and high command - subordinate module synched to them, so whichever unit you are playing as can command either fireteam.

I have also included a pair of triggers, one triggered by radio alpha and the other by radio bravo. They allow the fireteams to either merge into one group or divide back into two groups.

My problem is that when I merge the groups and then divide them, all of the modules that had been synched to one of the fireteam leaders are no longer there, so I can no longer use high command to control the other group How do I synch these modules back onto the group leader when the trigger that divides the fireteams is activated? (radio bravo)

Thanks for your time

Share this post


Link to post
Share on other sites

Maybe try to use hcSetGroup after each division?

hcSetGroup

Something like this, after rest of code in activation field of Bravo trigger:

player hcSetGroup [teamtosubordinate]

To make this work must exist at least one module of "hc - commander" type, I think.

Share this post


Link to post
Share on other sites

I can't seem to get this to work. Do I put: (name of unit I want as commander) hcSetGroup [(name of unit I want as subordinate)]

---------- Post added at 13:46 ---------- Previous post was at 13:34 ----------

Never mind, I've got it now. It was a problem with how I grouped them. thanks for your help

Share this post


Link to post
Share on other sites

might want to try this..

name the high command module to something like "High_Com"

on the radio trigger for Radio Bravo - when you split the squads back out - also include this

High_Com synchronizeObjectsAdd ["name of the lead squad player for squad 2"];

try that and see what happens

Share this post


Link to post
Share on other sites
might want to try this..

name the high command module to something like "High_Com"

on the radio trigger for Radio Bravo - when you split the squads back out - also include this

High_Com synchronizeObjectsAdd ["name of the lead squad player for squad 2"];

I didn't think this would work because I thought all synchronisations are sorted out in the first 0.5 seconds of a mission being loaded and can't be changed. I'll give it try though, thanks Edited by Angus S
Spelling Error

Share this post


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

×