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 General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
ThisList
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: ThisList (Read 485 times)
0 Members and 1 Guest are viewing this topic.
Silencer
Guest
ThisList
«
on:
31 Dec 2004, 12:41:17 »
Hi,
If I have 4 soldiers (E1,E2,E3 and E4) how can i tell them to be GoupEast?
Then I want to do:
GroupEast SetDammage 1
How can I get this to work??
Thanks
Logged
Platoon Patton
Members
"Barbecue" CreateVehicle getpos LLama
Re:ThisList
«
Reply #1 on:
31 Dec 2004, 13:38:47 »
Hi,
You dont tell something to a soldier...
You COMMAND them ;D
The command "join"will do fine here..
unitArray join group
Logged
http://www.platoon-clan.com/
We always wellcome dedicated OFP players
http://www.european-combat-league.com/index.php
To play with us in the best OFP league
THobson
OFPEC Patron
Former Staff
Re:ThisList
«
Reply #2 on:
31 Dec 2004, 13:45:36 »
The soldiers need to be in one group. In the init field of one of the units put
GoupEast = group this
If they are not in one group then
[E1,E2,E3] join E4
GroupEast = group E4
then
{_x setDammage 1} forEach units GroupEast
will kill them all
«
Last Edit: 31 Dec 2004, 13:47:27 by THobson
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
ThisList
Top of page