Logic points
Jump to navigation
Jump to search
Allows you to control and call outputs based on points.
Inputs
input addtoactivator <float>
- Adds <number> to the activator.
input addtocaller <float>
- Adds <number> to the caller.
input takefromactivator <integer>
- Takes <number> from the activator.
input takefromcaller <integer>
- Takes <number> from the caller.
input setactivatoramount <integer>
- Sets the amount that activator has to <number>.
input setcalleramount <integer>
- Sets the amount that caller has to <number>.
input callifactivatorhave <integer>
- If the activator has this amount then OnConditionPassed is thrown, otherwise OnConditionFailed.
input callifactivatornothave <integer>
- If the activator does not have this amount then OnConditionPassed is thrown, otherwise OnConditionFailed.
input callifcallerhave <void>
- If the caller has this amount then OnConditionPassed is thrown, otherwise OnConditionFailed.
input callifcallernothave <void>
- If the call does not have this amount then OnConditionPassed is thrown, otherwise OnConditionFailed.
Outputs
output OnConditionPassed <void>
- Thrown by ourselves when a condition is passed. The activator is always the player in question. The arguments are the amount that was checked against.
output OnConditionFailed <void>
- Thrown by ourselves when a condition is failed. The activator is always the player in question. The arguments are the amount that was checked against.