Revision Difference
Entity:GetInternalVariable#526862
<function name="GetInternalVariable" parent="Entity" type="classfunc">
<description>
An interface for accessing internal key values on entities.
⤶
⤶
This function returns variables created with **DEFINE_KEYFIELD** in C++ entities.⤶
⤶
See <page>Entity:GetSaveTable</page> for a more detailed explanation.⤶
⤶
See <page>Entity:GetSaveTable</page> for a more detailed explanation. See <page>Entity:SetSaveValue</page> for the opposite of this function.⤶
</description>
<realm>Shared</realm>
<args>
<arg name="VariableName" type="string">Name of variable corresponding to an entity save value.</arg>
</args>
<rets>
<ret name="" type="any">The internal variable value</ret>
</rets>
</function>