CreateFullActorCopy
Revision as of 04:06, 28 June 2006 by imported>Khadir (Documenting actor functions ...)
Template:ActorFunction Syntax:
[ActorID.]CreateFullActorCopy
Example:
player.CreateFullActorCopy set newRef to 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 as in the second example. 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
- The copy will not have any AI packages or factions