duplicator.StoreEntityModifier
From GMod Wiki
Function | |
Syntax |
duplicator.StoreEntityModifier( Entity entity, String type, Table data ) Where is this used? |
Description: | |
register a function to be applied when an entity is duplicated if it has the modifier type. | |
Returns: | nil |
Part of Library: | duplicator |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Duplicator.StoreEntityModifier]Duplicator.StoreEntityModifier [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The Entity Modifier can be retrieved either as the third parameter in the callback given to RegisterEntityModifier or in the PostEntityPaste hook as the EntityMods subtable of the Ent parameter in the form
Ent.EntityMods[type]