Home   Help Search Login Register  

Author Topic: Flag capture on a long distance  (Read 1271 times)

0 Members and 1 Guest are viewing this topic.

Offline MODUL

  • Members
  • *
  • From Russia with love
    • OTK
Flag capture on a long distance
« on: 27 Mar 2008, 19:17:57 »
I simply wish to know, it is possible to make so or not:
The unit activates the trigger and thus takes a flag (the flag appears behind the back), thus the unit is not in direct near to the flag.

If you have any reasons/ideas I with pleasure will listen to them.
Forgive for bad English...

Offline FreeBird

  • Members
  • *
Re: Flag capture on a long distance
« Reply #1 on: 02 Apr 2008, 23:10:23 »
You can give an unit a flag wit setflagowner command.
Call [This,Birth,School,Work,Death]execVM "Storyofmylife.sqf"
(_this select 1)ObjStatus "DONE";(_this select 2)ObjStatus "DONE";(_this select 3)ObjStatus "ACTIVE";(_this select 4)ObjStatus "HIDDEN";
if not((_this select 0) IsKindOf "Human")ExitWith{PlayMusic"Goodbye Cruel World"}