UFO: Alien Invasion
|
Campaign mission triggers. More...
#include "../../cl_shared.h"
#include "../../ui/ui_dataids.h"
#include "cp_campaign.h"
#include "cp_missions.h"
#include "cp_mission_triggers.h"
#include "cp_event_callbacks.h"
Go to the source code of this file.
Functions | |
void | CP_ExecuteMissionTrigger (const mission_t *mission, bool won) |
Executes console commands after a mission. More... | |
Campaign mission triggers.
Definition in file cp_mission_triggers.cpp.
Executes console commands after a mission.
[in] | mission | Pointer to the mission to execute the triggers for |
[in] | won | Int value that is one when you've won the game, and zero when the game was lost Can execute console commands (triggers) on win and lose This can be used for story dependent missions |
Definition at line 41 of file cp_mission_triggers.cpp.
References cgi, CP_CampaignTriggerFunctions(), DEBUG_CLIENT, mission_s::mapDef, mission_s::onlose, mapDef_s::onlose, mission_s::onwin, mapDef_s::onwin, and Q_strvalid.
Referenced by CP_MissionEnd().