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.

Revision #1
Created Wed, Oct 3, 2018 12:04 AM by Loren Goodwin
Updated Thu, Mar 7, 2019 11:14 PM by Loren Goodwin