Difference between revisions of "CreateFullActorCopy"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>ShadowDancer
(forgot to add that it also creates a full copy of the actor)
imported>DragoonWraith
(CS 1.0, and not Misc (it's in Actor Functions))
Line 23: Line 23:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Functions (CS 1.0)]]
[[Category:Actor Functions]]
[[Category: Actor Functions]]
[[Category: Actor Functions (CS 1.0)]]

Revision as of 15:11, 5 July 2007

Syntax:

[ActorID.]CreateFullActorCopy

Example:

player.CreateFullActorCopy

Creates a copy of the specified actor and its base.


Example:

set newRef to player.CreateFullActorCopy 

Creates a copy of the actor and returns the ID of the new copy, 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
  • The copy will not have any AI packages or factions

See Also

DeleteFullActorCopy