OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: YankeeTanker on 08 Sep 2002, 14:20:38

Title: 2 for you!!!
Post 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.
Title: Re:2 for you!!!
Post by: ScouseJedi on 08 Sep 2002, 14:29:39
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.
Title: Re:2 for you!!!
Post by: Gameer_77 on 08 Sep 2002, 14:34:20
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
Title: Re:2 for you!!!
Post by: YankeeTanker on 08 Sep 2002, 22:11:14


  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.
Title: Re:2 for you!!!
Post by: Gameer_77 on 08 Sep 2002, 22:25:46
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
Title: Re:2 for you!!!
Post by: Sui on 09 Sep 2002, 06:59:54
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