MFK Command: SetCondTotal

Synopsis

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

For use with collectcoinscollectwrench,destroycars,hitpedsand jump conditions.

Syntax

SetCondTotal( <total> );
  • total: The total amount required to fail the condition.

Examples

SelectMission("m1");
	...
    
    AddStage();    
    	...
        
        AddCondition("jump");
            SetCondTotal(3);
        CloseCondition();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.
Back to top