Difference between revisions of "CreateFullActorCopy"
Jump to navigation
Jump to search
imported>Khadir (Documenting actor functions ...) |
imported>JOG |
||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''.]CreateFullActorCopy | [''ActorID''.]CreateFullActorCopy | ||
Line 17: | Line 16: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Miscellaneous Functions]] | [[Category: Miscellaneous Functions]] | ||
[[Category:Actor Functions]] |
Revision as of 10:22, 28 June 2006
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