Entity.SetEntity
From GMod Wiki
Revision as of 18:46, 25 September 2009 by Unrealomega (Talk | contribs)
| Function | |
| Syntax | Entity:SetEntity( String key, Entity entity ) |
| Description: | |
| Sets a key value to point to a specific entity instead of a targetname. | |
| Returns: | nil |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetEntity]Entity.SetEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This is how you can set the target of a laser to a specific entity instead of a targetname.