Conditions
Conditions can be used to alter how your hud will look based on defined circumstances.
Condition Format
Condition Key
This is how you will identify which condition you are using.
Condition Arguments
Arguments are different for each condition. They are each separated by a semi-colon(;
). If your condition does not have any arguments, you can leave the space blank like this {}
.
Match
This is what the condition will check to see if the condition is complete or not. This defaults to true
.
Action
This is what the result of the condition will affect.
Action | Description | Variable | Example |
---|---|---|---|
Hide | If the condition is resolves to false, the hud will be hidden. | N/A | N/A |
Color | If the condition resolves to true, the hud will be recolored. | Color |
|
Texture | If the condition resolves to true, the hud will be retextured. | Texture Path |
|
Example Conditions
This condition will turn the hud asset's to the color green if the user has the "luck" effect.
Last updated