scripted_ents.GetStored

From GMod Wiki

Jump to: navigation, search
Function
Syntax scripted_ents.GetStored( String Class )
Where is this used?
Description:
Returns informations about the entity class .
Returns: Table Table with informations
Part of Library: scripted_ents
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Scripted ents.GetStored]Scripted ents.GetStored [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

 
PrintTable(scripted_ents.GetStored("gmod_hoverball"))
/* Will return
isBaseType	=	true
type	=	anim
Base	=	base_gmodentity
t:
		GetSpeed	=	function: 038F7010
		Instructions	=	
		PrintName	=	Hover Ball
		Folder	=	entities/gmod_hoverball
		DrawTranslucent	=	function: 038F71C0
		Base	=	base_gmodentity
		AdminSpawnable	=	false
		ClassName	=	gmod_hoverball
		SetSpeed	=	function: 038F7028
		Draw	=	function: 038F7118
		Author	=	
		Think	=	function: 038F71D8
		UpdateLabel	=	function: 038F7040
		Spawnable	=	false
		Type	=	anim
		Purpose	=	
		Initialize	=	function: 038F7070
		SetupDataTables	=	function: 038F6FF8
		Classname	=	gmod_hoverball
		Contact	=	
		RenderGroup	=	2
*/
 

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox