Home   Help Search Login Register  

Author Topic: Attaching Flags  (Read 655 times)

0 Members and 1 Guest are viewing this topic.

Jester

  • Guest
Attaching Flags
« on: 30 Jan 2003, 19:14:47 »
Ok, I can get my custom flag attached to the vehicle I am in if I get in the vehicle. So, how would I attach the flag to say a HumV even if there isn't a soul in it. I have 2 groups of 3 HumV's and I want each one to have a group flag on them. So when you run down the road to the town center the hummers will already have the flag attached without carrying it all the way down the road.

MorMel

  • Guest
Re:Attaching Flags
« Reply #1 on: 01 Feb 2003, 01:54:01 »
Have you tried '_flag SetFlagOwner _Carrier' to attach a given _flag to a given '_Carri'ng object? It works with OFP v1.00, even with "souless" vehicles...

ex.:

FlagPoleA setflagtexture "Port.pac"
FlagPoleA setFlagOwner hummer1
;The flag will be attached to the vehicle

FlagPoleA SetflagOwner ObjNull
;The flag will be returned to its falgpole