Entity.StoreOutput

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:StoreOutput( String name, String info )
Description:

Usage: self:StoreOutput("<name of output>","<entities to fire>,<input name>,<param>,<delay>,<times to be used>")

If called from ENT:KeyValue, then the first parameter is the key, and the second is value.
Returns: nil
In Object: Entity
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.StoreOutput]Entity.StoreOutput [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionThis example function will store all outputs for this entity.
Used onNewerServer.png
Code
 
function ENT:KeyValue( key, value )
	if string.lower(string.sub(key, 1, 2))) == "on" then
		self:StoreOutput( key, value )
	end
end
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox