Group ArithmeticCommands
Contains arithmetic Pose Mod commands that work on any application.
Assembly: kgcorlib.dll
Commands
Add(String, Single)
Sets the variable named "variableName" to {variableName} + {value}.
Declaration
public void Add(string variableName, float value)
Examples
[MyVariable]:10
Add:MyVariable:8
// `MyVariable` now has a value of `18`.
Div(String, Single)
Sets the variable named "variableName" to {variableName} / {value}.
Declaration
public void Div(string variableName, float value)
Examples
[MyVariable]:100
Div:MyVariable:3
// `MyVariable` now has a value of `33.333...`.
Mul(String, Single)
Sets the variable named "variableName" to {variableName} * {value}.
Declaration
public void Mul(string variableName, float value)
Examples
[MyVariable]:150
Mul:MyVariable:6
// `MyVariable` now has a value of `900`.
Sub(String, Single)
Sets the variable named "variableName" to {variableName} - {value}.
Declaration
public void Sub(string variableName, float value)
Examples
[MyVariable]:10
Sub:MyVariable:15
// `MyVariable` now has a value of `-5`.