C4 Engine
C4 Engine API Documentation

Variable::SetIntegerValue

Defined in:  C4Variables.h
Sets the variable value as an integer.
Prototype

void SetIntegerValue(int32 value);

Parameters
value The new variable value.
Description
The SetIntegerValue function sets the value of a variable to the integer specified by the value parameter.

If the variable has observers installed, then they are invoked after the variable's value is set.
See Also

Variable::GetIntegerValue

Variable::GetFloatValue

Variable::SetFloatValue

Variable::GetValue

Variable::SetValue