-
-
Notifications
You must be signed in to change notification settings - Fork 34
operations
operator uses the exp4j library.
see the links below for the default operators
https://redmine.riddler.com.ar/projects/exp4j/wiki/Built_in_Operators
for math operators, see the links below.
https://redmine.riddler.com.ar/projects/exp4j/wiki/Built_in_Functions
https://redmine.riddler.com.ar/projects/exp4j/wiki/Extra_Functions_and_Operators
use 't' as a parameter.
It is primarily used by PAPI, and examples of how it is used include
ex. [player_health@t * 2]
The value of player_health is defined as t, which in this example would be 40 if the original health was 20.
when used as a PAPI variable, it is of type string, so it needs to be defined as type number.
ex. [(number)papi:player_x@t * 2]
when working within a pattern in a text layout,
the divide ('/') operator uses '//'.