OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 12 Dec 2004, 16:24:36

Title: briefing and triggers?
Post by: 456820 on 12 Dec 2004, 16:24:36
i shouldnt need to ask question 1 as it is simple. Q1 how do you make a trigger wait until another trigger is activ because this mission i made ends befor objective 1 is finished?
and Q2 how do you create more parts into your briefing like when its got a link in the plan bit wich takes you to another bit (i use "Chris's ofp script editor, briefing wizard" to create my briefings)if thats has anything to do with it?
Title: Re:briefing and triggers?
Post by: macguba on 12 Dec 2004, 16:28:50
2.  Read snYpir's Briefing tutorial and also see the working example in the Tutorial Mission, both in the Ed Depot - Tutes - Getting started.     You should become familiar with all of the tutorials in that section:   there is some overlap so you don't need to study every one intimately, but you should skim through all of all of them so that at least you know what is there.   It will save much time and even more heartache.

1.   Use a variable.   For example:-

First trigger
Activation:   as you like
On Activation:   trig1=true

Second trigger
Activation:  as you like
Condition:   this and trig1
On Activation:   as you like
Title: Re:briefing and triggers?
Post by: 456820 on 12 Dec 2004, 17:05:05
cool thanks