Difference between revisions of "LeveledItem"
Jump to navigation
Jump to search
m
→Scripted items with OnAdd blocks: Clarify description of workaround
imported>SnakeChomp m (→Leveled Item Options: Fix link to setting which is now on this page) |
imported>SnakeChomp m (→Scripted items with OnAdd blocks: Clarify description of workaround) |
||
Line 41: | Line 41: | ||
== Scripted items with OnAdd blocks == | == Scripted items with OnAdd blocks == | ||
If a scripted item is added | If a scripted item is added directly into an actor's inventory when the actor is spawned (by being present in the actor's inventory in the GECK or by being selected from a leveled list which is in the actor's inventory), the OnAdd block in the item script will not execute. There is a workaround for this, and it is to use a GameMode block and an OnAdd block. | ||
<pre>short doonce | <pre>short doonce |