OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Mr.Peanut on 12 Dec 2005, 21:45:37
-
Is the present leader of a group the lowest (living) index of the group array?
-
I don't think this is always the case, although in general it should be true. Using the 'join' command in certain situations might mess this up. Two functions that might be of interest:
squad number:
http://www.ofpec.com/editors/funcref.php?filter_func=60
squad order:
http://www.ofpec.com/editors/funcref.php?filter_func=61