cp_mission_triggers.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void CP_ExecuteMissionTrigger (mission_t *m, qboolean won)
 Executes console commands after a mission.

Function Documentation

void CP_ExecuteMissionTrigger ( mission_t m,
qboolean  won 
)

Executes console commands after a mission.

Parameters:
m Pointer to mission_t
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 168 of file cp_mission_triggers.c.

References Cmd_ExecuteString(), Com_DPrintf(), Com_Printf(), CP_MissionTriggerFunctions(), DEBUG_CLIENT, mission_s::mapDef, mapDef_s::onlose, mission_s::onlose, mapDef_s::onwin, mission_s::onwin, qfalse, and qtrue.

Referenced by CL_GameAutoGo(), and GAME_CP_Results().


Generated by  doxygen 1.6.2