Difference between revisions of "LeveledItem"

112 bytes added ,  11:36, 13 April 2009
m
Moved Tes4 link down to the bottom under see also. Added AddItemToLeveledList.
imported>SnakeChomp
m (→‎Scripted items with OnAdd blocks: Clarify description of workaround)
imported>DewiMorgan
m (Moved Tes4 link down to the bottom under see also. Added AddItemToLeveledList.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Leveled_Item Leveled Item]
A leveled item is an example of a [[:Category:Leveled Lists|leveled list]].
A leveled item is an example of a [[:Category:Leveled Lists|leveled list]].


Line 28: Line 26:
|Name = iLevItemLevelDifferenceMax
|Name = iLevItemLevelDifferenceMax
|Default = 0
|Default = 0
|Description = When this setting has a non zero value, it specifies the maximum level range that will be considered when selecting items from leveled lists. It is not so easy to understand the behavior of this setting, so consider this example.  
|Description = When this setting has a non zero value, it specifies the maximum level range that will be considered when selecting items from leveled lists which have the "Calculate from all levels <= PC's level" option enabled. It is not so easy to understand the behavior of this setting, so consider this example.  


You have a leveled list with an item at level 1, an item at level 10, an item at level 20, and "Calculate from all levels <= PC's level" is checked. When the setting is 0 and the player is level 20, actors given items using this list have a 33% chance to select each item, or in other words all items from all levels are considered. If the setting is changed to 1, then only the level 20 item is considered (because the difference between the level 20 item and the level 10 item is more than 1). If the setting is changed to 10, there is a 50% chance to select the level 10 item and the level 20 item.
You have a leveled list with an item at level 1, an item at level 10, an item at level 20, and "Calculate from all levels <= PC's level" is checked. When the setting is 0 and the player is level 20, actors given items using this list have a 33% chance to select each item, or in other words all items from all levels are considered. If the setting is changed to 1, then only the level 20 item is considered (because the difference between the level 20 item and the level 10 item is more than 1). If the setting is changed to 10, there is a 50% chance to select the level 10 item and the level 20 item.
Line 63: Line 61:
end
end
</pre>
</pre>
==See Also==
*[[AddItemToLeveledList]]
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Leveled_Item Leveled Item]


[[Category:Items]]
[[Category:Items]]
[[Category:Leveled Lists]]
[[Category:Leveled Lists]]
Anonymous user