OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Wolf on 28 Jun 2011, 15:31:59

Title: Probably quick and easy question
Post by: Wolf on 28 Jun 2011, 15:31:59
Hey all,

How do I get a squad to join a high commander, making them commandable in high commander mode, but not in your actual squad?

~Wolf
Title: Re: Probably quick and easy question
Post by: Wolfrug on 28 Jun 2011, 18:08:52
Heya!

Easy enough:

Code: [Select]
player hcSetGroup [groupName];
Player being the HC leader, and groupName being the name of the group being, er, set. Not sure if this will work unless the player is actually the leader of a HC group from before, though (i.e. set up via the regular synchronizations etc in the editor).

Wolfrug out.