Home   Help Search Login Register  

Author Topic: Simple Flag Q  (Read 964 times)

0 Members and 1 Guest are viewing this topic.

B-2-0

  • Guest
Simple Flag Q
« on: 28 May 2003, 01:01:16 »
Can anyone tell me the command to get an AI unit to take the flag please?

Thanx in advance :)

Komuna

  • Guest
Re:Simple Flag Q
« Reply #1 on: 28 May 2003, 12:15:08 »
Hmm... There's no action that compels an unit AI to take the flag... At least I didn't tried. What you could do is make a trigger and place its center over the flag. Make this trigger's radius to 3 or 5 meters and, if it's activated by a certain unit, it should execute the following command:

MyFlagPole SetFlag??! MyAIUnit

Check the ComRef for the appropriate command! I forgot its syntax, but at least, it will give you an idea of what you should search at the ComRef. ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Simple Flag Q
« Reply #2 on: 28 May 2003, 13:18:26 »
The command you need is setFlagOwner
Plenty of reviewed ArmA missions for you to play

Komuna

  • Guest
Re:Simple Flag Q
« Reply #3 on: 28 May 2003, 14:22:34 »
Myflagpole setFlagOwner MyUnit

Exactly!

macguba, you're the man!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Simple Flag Q
« Reply #4 on: 28 May 2003, 15:48:33 »
*wag wag*
Plenty of reviewed ArmA missions for you to play

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Simple Flag Q
« Reply #5 on: 28 May 2003, 16:39:33 »
*whacked* is more like it  ;D