Difference between revisions of "CreateFullActorCopy"
Jump to navigation
Jump to search
clarified usage of CreateFullActorCopy
imported>JOG |
imported>ShadowDancer (clarified usage of CreateFullActorCopy) |
||
Line 4: | Line 4: | ||
'''Example:''' | '''Example:''' | ||
player.CreateFullActorCopy | player.CreateFullActorCopy | ||
Creates a copy of the specified actor and its base. Returns the ID of the new reference, so it can be used to set a reference variable | Creates a copy of the specified actor and its base. | ||
'''Example:''' | |||
set newRef to player.CreateFullActorCopy | |||
Returns the ID of the new reference, so it can be used to set a reference variable. | |||
In both cases the copy will be an exact duplicate of the original actor, including inventory, with the following exceptions: | |||
* Inventory items are duplicated in the same manner as [[DuplicateAllItems]] | * Inventory items are duplicated in the same manner as [[DuplicateAllItems]] |