Garry's Mod Wiki

Entity:GetEditingData

table Entity:GetEditingData()

Description

Returns internal data about editable Entity:NetworkVars.

This is used internally by DEntityProperties and Editable Entities system.

This function will only work on entities which had Entity:InstallDataTable called on them, which is done automatically for players and all Scripted Entities

Returns

1 table data
The internal data

Example

Example output, if used on a edit_sun.

local ent = ents.FindByClass("edit_sun")[ 1 ] PrintTable( ent:GetNetworkVars() )
Output:
overlaycolor: order = 4 title = OverlayColor type = VectorColor overlaysize: max = 200 min = 0 order = 2 title = OverlaySize type = Float suncolor: order = 3 title = SunColor type = VectorColor sunsize: max = 100 min = 0 order = 1 title = SunSize type = Float

Page Links


Special Pages


Wikis

?

Render Time: 60ms

DB GetPage 32
Generate Html 7
SaveChanges (1) 10
Render Body 0
Render Sidebar 9