OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dave52390 on 03 Aug 2004, 03:57:59

Title: How do i have a person carry a flag on there back
Post by: dave52390 on 03 Aug 2004, 03:57:59
i need help with how to get a flag on some ones back off the start.
Title: Re:How do i have a person carry a flag on there back
Post by: C0LDSt33L on 13 Aug 2004, 13:25:37
Create a flag and in it's initialisation field use:

this setflagtexture "usa_VLajka.pac"

This will put a flag on the flagpole (use "Rus_vlajka.pac" for a Russian flag) Then give this flag a name like ourflag. Then you need to give the flag to the unit. This is done using the setflagowner command. For example:

ourflag setFlagOwner FlagCarryingDude

This will put the flag (ourflag) on the back the unit specified (FlagCarryingDude). This can be put in triggers or in initilisation fields.
Title: Re:How do i have a person carry a flag on there back
Post by: dave52390 on 14 Aug 2004, 13:38:40
thanks it worked