Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Leader in a group array
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Leader in a group array (Read 1258 times)
0 Members and 1 Guest are viewing this topic.
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?
Logged
urp!
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
Logged
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!
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Leader in a group array
Top of page