Available since Version 1.18.
Set how an ASF condition displays to the user.
Scope
This command should be called between calls to AddCondition and CloseCondition in a mission's initialisation script.
Syntax
MFK
Lua
SetCondDisplay( display_type );Game.SetCondDisplay( display_type )- display_type: The type of display to use to convey (or hide) the condition to the player.
- none: The display will be hidden.
- fill: The bar will be full when the player is near the midpoint of the specified speed range.
- Only for maintainspeed conditions.
- midpoint: The bar will be empty when the player is near the lower limit and full when the player is near the higher limit.
- Only for maintainspeed conditions.
Examples
MFK
Lua
AddCondition("hitpeds");
SetCondDisplay("none");
CloseCondition();Game.AddCondition("hitpeds")
Game.SetCondDisplay("none")
Game.CloseCondition()Notes
No additional notes.
Version History
1.18.1
Added the none display mode for SetCondDisplay that works on all ASF conditions.