OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: YankeeTanker on 08 Sep 2002, 14:20:38
-
Ok.. OFP wizards...
Help me out here..
1. Attaching a flag to a vehicle.. Ive seen it I just don't know how...
2. Getting the right name for a briefing when the mission starts instead of...
__ Cur sp...
Happens every time.
It's the little things that kill me... you all can keep writing the award winning scripts and stuff.
YankeeTanker.
-
2. The right nasme for a briefing is easy..... when you know how.
In the editor, the weather and time is in a little window to the top right. Double click this and a new window appears called Intel. The name you put in here is the mission name.
-
Put a flag and name it something.
Then in the init field of the vehicle or unit put flagname setflagowner unitname.
Im recalling this from memory so don't blame little ol' me if its wrong ::)
8)PEACE
-
Ok..that's one down.. the briefing thing...
Yeah...feel like an idiot.. I do.. It worked..
But the vehicle flag thing... didn't
So thanks ScouseJedi.. and Gameer but no cigar on that one..
And I am not mad about it.
YankeeTanker.
-
Are you sure?
Put a flag, then in the init field put:
This setFlagOwner Player
Have you put a texture on the flag?
8)PEACE
-
As far as I know, you can't put a flag on an empty vehicle... it has to be given to a unit.
I generally give it to a person, so if I had a UAZ called uaz that I wanted to drive around with the flag I'd use:
flag setflagowner uazd
uazd is the driver of uaz