CreateFullActorCopy

Revision as of 15:41, 8 February 2006 by 10.0.1.94 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

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

See Also

DeleteFullActorCopy