Entity:GetInternalVariable
Description
An interface for accessing internal key values on entities.
See Entity:GetSaveTable for a more detailed explanation. See Entity:SetSaveValue for the opposite of this function.
Arguments
Returns
Example
Get how long it has been since the player was damaged.
Output: -31.965000152588
Example
Determine if a door is locked or not (server side).
Output: Returns
true
if the door is locked.Example
Determines whether the door is open or not (server side).
Output: Returns
true
if the door is open.