C4 Engine
C4 Engine API Documentation

Engine::GetVariable

Defined in:  C4Engine.h
Returns a system variable.
Prototype

Variable *GetVariable(const char *name) const;

Parameters
name The name of the variable.
Description
The GetVariable function returns the system variable matching the name specified by the name parameter. If no such variable exists, then the return value is nullptr.
See Also

Engine::GetFirstVariable

Engine::AddVariable

Variable