Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
POW to join Blufor squad SOLVED
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: POW to join Blufor squad SOLVED (Read 1150 times)
0 Members and 1 Guest are viewing this topic.
Crowey
Members
POW to join Blufor squad SOLVED
«
on:
21 Jul 2008, 18:45:37 »
Hi guys i know how to basically make a ai pow join groups with one unit that ive names but what happens if that one unit gets killed and I still need the pow to join the rest of the squad that hasnt been killed. i use this "onAct: [unitname] join unitname" and that works fine as long as the leader which iv names doesnt die but in some cases he will so what can i do..... simple format plzzzz newbie non scripter here, lol
«
Last Edit: 22 Jul 2008, 21:02:02 by Crowey
»
Logged
Luke
Members
Thank God! The OFPEC Staff are here!
Re: POW to join Blufor squad
«
Reply #1 on:
21 Jul 2008, 19:21:58 »
Crowey,
Did you try "OnAct: mypow join (group group_leader )"
that way, if the leader dies, the pow will still join the group.
Luke
Logged
Pesky Human!!
Wort Wort Wort.
Wolfrug
Addons Depot
Former Staff
Official OFPEC Old Timer
Re: POW to join Blufor squad
«
Reply #2 on:
21 Jul 2008, 20:46:44 »
Name the group instead, and then use the
leader
command:
Code:
[Select]
[pow] join (leader groupName);
You name the group by putting something like:
Code:
[Select]
groupName = group this
Into the initialization (NOT the description!) field of any member of the group - typically the leader. That way the unit named pow will always join the leader of the group, which might change
Wolfrug out.
Logged
"When 900 years
YOU
reach, look as good you will not!"
Crowey
Members
Re: POW to join Blufor squad
«
Reply #3 on:
21 Jul 2008, 21:50:26 »
great answers guys thank you
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
POW to join Blufor squad SOLVED
Top of page