Difference between revisions of "OnAdd"

From GECK

(Notes: reworded note to clarify why the block doesn't (and shouldn't) run)
m (Notes: forgot a word)
Line 3: Line 3:
 
==Notes==
 
==Notes==
 
*This block won't run when Death Items, including items added via "Add Leveled List On Death" Entry point perks, are first placed in the dead Actor's inventory.
 
*This block won't run when Death Items, including items added via "Add Leveled List On Death" Entry point perks, are first placed in the dead Actor's inventory.
*This block won't run on items that are listed in the actor's inventory tab in the GECK, even when a new instance of an actor is placed in the world.  OnAdd blocks trigger on ''changes'' to an actor's inventory, but not when objects are created along with the container they are placed in (and so the same applies for Container objects placed in the world).
+
*This block won't initially run on items that are listed in the actor's inventory tab in the GECK, even when a new instance of an actor is placed in the world.  OnAdd blocks trigger on ''changes'' to an actor's inventory, but not when objects are created along with the container they are placed in (and so the same applies for Container objects placed in the world).
  
 
[[Category: Blocktypes]]
 
[[Category: Blocktypes]]

Revision as of 22:56, 19 January 2009

Link to TES4 Construction Set Wiki: OnAdd.

Notes

  • This block won't run when Death Items, including items added via "Add Leveled List On Death" Entry point perks, are first placed in the dead Actor's inventory.
  • This block won't initially run on items that are listed in the actor's inventory tab in the GECK, even when a new instance of an actor is placed in the world. OnAdd blocks trigger on changes to an actor's inventory, but not when objects are created along with the container they are placed in (and so the same applies for Container objects placed in the world).
Personal tools