OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kilo11 on 26 Jul 2003, 20:49:11
-
How can I get an enemy unit (in this case a helicopter named "helo1") to go to the position of my group when my group has been detected by East.
So far I have a trigger with "Detected by East" but I don't know how to properly use the getpos command with a group. Any help appreicated.
-=Kilo=-
-
heloname domove getpos (leader groupname)
LCD OUT
-
Thank you LCD, just one little questiong.
Do I put the ( ) in there or not.
I have:
helo1 domove getpos (Echo)
"Echo" is the group leader of my group. If he dies, will the Helicopter still go to the group, or will it not work?
So basically I need to have it to where the helicopter will go to the group, not just the leader. THank you LCD.
-=Kilo=-
-
u need em ;D
but wat u need 2 do is name da group (e.g echo = group this in init of leader)
now u do
heloname domove getpos (leader Echo)
dont name da leader echo
so now OFP knows da group echo nd wil check 4 its leader everytime ;D
LCD OUT