getAssignedCuratorUnit – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "You can return the players assigned to the curatorlogic by checking for synchronizedObjects on the curator logic Example My_CuratorObjects = []; { systemchat format ["%1 ass...")
(No difference)

Revision as of 14:23, 8 November 2015

You can return the players assigned to the curatorlogic by checking for synchronizedObjects on the curator logic

Example My_CuratorObjects = []; { systemchat format ["%1 assigned to %2", _x, synchronizedObjects _x];

       My_CuratorObjects = My_CuratorObjects + (synchronizedObjects _x);

}foreach allcurators;

then filter for iskindof "Man" to extract units