Home   Help Search Login Register  

Author Topic: getpos to my group  (Read 531 times)

0 Members and 1 Guest are viewing this topic.

Kilo11

  • Guest
getpos to my group
« 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=-

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:getpos to my group
« Reply #1 on: 26 Jul 2003, 20:54:41 »
heloname domove getpos (leader groupname)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Kilo11

  • Guest
Re:getpos to my group
« Reply #2 on: 26 Jul 2003, 21:00:54 »
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=-

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:getpos to my group
« Reply #3 on: 26 Jul 2003, 21:05:15 »
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
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta