Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Leader in a group array  (Read 1615 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Leader in a group array
« on: 12 Dec 2005, 21:45:37 »
Is the present leader of a group the lowest (living) index of the group array?
urp!

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Leader in a group array
« Reply #1 on: 13 Dec 2005, 11:41:29 »
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
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!