Mission (EM4)

Information: The EMERGENCY community board is completely free and is financed by advertisement. Please deactivate adblocker if you use this site. Thank you!
Note about the webdisk: Downloading larger files is possible broken. Our Service-Provider is still working on the problem.
  • Namespace / class 'Mission'

    1 List of MissionStates


    Code
    enum MissionState
    {
    	MISSION_RUNNING,	// running
    	MISSION_SUCCEEDED,	// succeeded
    	MISSION_FAILED,		// failed
    };


    2 List of ActionCallbackResults


    Code
    enum ActionCallbackResult
    {
    	ACTION_CONTINUE,
    	ACTION_SKIP,
    	ACTION_CLEAR, 
    };


    3 List of PathFinishedActions


    Code
    enum PathFinishedAction
    {
    	PATH_DEFAULT,
    	PATH_DELETE,
    	PATH_RESTART,
    	PATH_STOP
    };


    4 List of MoveCollChecks


    Code
    enum MoveCollCheck
    {
    	MCC_HALT_CONTINUE,			// default: on collision stop moving the object, but don't stop action
    	MCC_IGNORE_CONTINUE,		        // ignore collision (move on) and continue action
    	MCC_HALT_DONE,				// stop moving and remove action
    	MCC_IGNORE_DONE,			// continue moving (for this step) and remove action 
    	MCC_HALT_CLEARLIST,			// stop moving and clear action list
    	MCC_IGNORE_CLEARLIST,		        // continue moving (for this step) and clear action list
    };


    5 Defnied functions



    Code
    class MissionScript
    {
    	public :
    		MissionScript(const char *Class_, const char *Object_);
    		virtual ~MissionScript();
    };