MFK Command: SetCondDisplay

Synopsis

Set how the condition is displayed to the user.

Syntax

SetCondDisplay( <display_type> );

In any ASF Condition

  • display_type: The type of display to use to convey (or hide) the condition to the player. 
    • none: The display will be hidden.

In maintainSpeed Conditions

  • display_type: The type of display to use to convey (or hide) the condition to the player. Defaults to "midpoint"
    • fill: The bar will be full when the player is near the midpoint of the specified speed range.
    • midpoint: The bar will be empty when the player is near the lower limit and full when the player is near the higher limit.
    • none: The display will be hidden.

Examples

SelectMission("m1");

	...

	AddStage();
    	...

        AddCondition("hitpeds");
            SetCondDisplay("none");
        CloseCondition();
	CloseStage();
CloseMission();
SelectMission("m1");

	...

	AddStage();
    	...

        AddCondition("maintainspeed");
            SetCondDisplay("fill");
        CloseCondition();
	CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18.1

  • Added the "none" display mode. This works on all ASF conditions.

1.18

  • Added this command.
Back to top