Difference between revisions of "CreateFullActorCopy"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Antares
(Updated the article, see latest talk page additions for the reason)
imported>Relax and Play
(Added some notes)
Line 20: Line 20:
* The copy will not have any AI packages, and there may discrepancies on the [[Aggression]], [[Confidence]], [[AI Button|Energy Level]] and [[Responsibility]] values between the Original and the Copy.
* The copy will not have any AI packages, and there may discrepancies on the [[Aggression]], [[Confidence]], [[AI Button|Energy Level]] and [[Responsibility]] values between the Original and the Copy.
* Factions will be duplicated but aren't persistent on the copy
* Factions will be duplicated but aren't persistent on the copy
==Notes==
* Using this command on the player will create an actor which can actually remove you from your guild if you choose to attack it. The reason being for this is that the copy of the player belongs to whatever guild the player is currently in.
* Using this command on a creature will create a copy that rampages wildly, even if the original actor has an aggression value of 5 or less and/or is part of a faction that isn't considered evil.
   
   
==See Also==
==See Also==

Revision as of 19:14, 5 January 2009

Syntax:

[ActorID.]CreateFullActorCopy

Example:

player.CreateFullActorCopy

Creates a copy of the specified actor and its base. The copy will have its own 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, Such items are treated by the game in a way that is not dissimilar to PlaceAtMe items in that their Base Records cannot be destroyed.
    • Like DuplicateAllItems, any scripted item will be given a new FormID. See DuplicateAllItems for more details.
  • The copy will not have any AI packages, and there may discrepancies on the Aggression, Confidence, Energy Level and Responsibility values between the Original and the Copy.
  • Factions will be duplicated but aren't persistent on the copy

Notes

  • Using this command on the player will create an actor which can actually remove you from your guild if you choose to attack it. The reason being for this is that the copy of the player belongs to whatever guild the player is currently in.
  • Using this command on a creature will create a copy that rampages wildly, even if the original actor has an aggression value of 5 or less and/or is part of a faction that isn't considered evil.

See Also

DeleteFullActorCopy