Garry's Mod Wiki

Revision Difference

ENTITY:OnDuplicated#514618

<function name="OnDuplicated" parent="ENTITY" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called on any entity after it has been created by the <page>duplicator</page> and before any bone/entity modifiers have been applied.⤶ ⤶ This hook is called after <page>ENTITY:Initialize</page> and before <page>ENTITY:PostEntityPaste</page>.⤶ </description>⤶ <realm>Server</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="entTable" type="table">&lt;page&gt;EntityCopyData&lt;/page&gt; of the source entity.</arg>⤶ </args>⤶ </function>⤶ ⤶