Difference between revisions of "CreateFullActorCopy"
Jump to navigation
Jump to search
imported>Khadir (Documenting actor functions ...) |
|||
Line 1: | Line 1: | ||
{{ActorFunction}} | |||
'''Syntax:''' | '''Syntax:''' | ||
CreateFullActorCopy | [''ActorID''.]CreateFullActorCopy | ||
'''Example:''' | '''Example:''' |
Revision as of 04:06, 28 June 2006
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