OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ding on 09 Dec 2005, 14:57:34

Title: Reserved Script names
Post by: Ding on 09 Dec 2005, 14:57:34
Dose anyone know where there is a list of the Reserved Mission scripts? e.g. Init.sqs, InitIntro.sqs... etc?
Title: Re:Reserved Script names
Post by: LoTekK on 09 Dec 2005, 14:59:42
Comref, under "Event based scripts"?
Title: Re:Reserved Script names
Post by: Ding on 09 Dec 2005, 16:32:15
hmm, so there is not InitOutro, thats annoying because everytime i try to make an outro it runs the InitIntro.sqs
Title: Re:Reserved Script names
Post by: macguba on 09 Dec 2005, 16:42:16
Run the script from the init line of the player unit in the Intro/Outro.   (Do NOT run it from a trigger:  init lines are executed before triggers.)  Problems have been reported with initIntro in the past, though I can't remember what.

If you're making a campaign then you can make the "outro" a seperate mission.