Goto http://www.stucuk.netGoto http://www.atlanticaonlinewiki.comGoto http://www.game-requirements.com

SetNextMission

From Original War Support Wiki

Jump to: navigation, search

SAIL Functions/S -> SetNextMission


Added In: 1.09

Description

SetNextMission works like YouWin except it sets the next mission based on the ID given to it. It means that you can make it goto level 2 after level 1 when the player enters the eon but if he chooses to quit then you could send him to level 5 for example. SetNextMission effects the campaign tree unlike ChangeMap which has no effect on it.

Usage

First you need to add an entry to the missions.dat . The mission numbers are the "true" next mission numbers that the SetNextMission id references to

NEXTM <NUM> <Mission1> <Mission2> <Mission3> 
NEXTM 2 13 15

Next you need to add SetNextMission to SAIL. It accepts an ID between 1 and 3 which corrisponds to the NEXTM values(1 would goto level 13 in the above example and 2 would goto level 15). You can have a maximum of 3 Mission values.

SetNextMission(1);

See Also

Personal tools
Clanbase
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Can't contact the database server: MySQL functions missing, have you compiled PHP with the --with-mysql option? )


You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.