MFK Command: SetObjTotal

Synopsis

Set the total amount of times the condition must be failed for the player to fail the mission.

For use in collectcoinscollectwrench, completedwaspsdestroycars,hitpedsand jump objectives.

Syntax

SetObjTotal( <total> );
  • total: The total amount required to pass the objective.

Examples

SelectMission("m1");
	...
    
    AddStage();    
        AddObjective("jump");
            SetObjTotal(3);
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.
Back to top