Entity/GetInternalVariable

From Garry's Mod
Jump to: navigation, search
 Entity:GetInternalVariable( )

Description

An interface for accessing internal key values on entities.
This function returns variables created with DEFINE_KEYFIELD in C++ entities.

See Entity:GetSaveTable for a more detailed explanation.

Arguments

string VariableName

Name of variable corresponding to an entity save value.

Returns

any

The internal variable value
Personal tools
Navigation