Difference between revisions of "AddToLeveledList"

537 bytes added ,  15:03, 27 October 2008
no edit summary
imported>Haama
(Created)
 
imported>DragoonWraith
 
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (nothing) AddToLeveledList leveledList:ref object:ref level:short count:short
  (nothing) AddToLeveledList leveledList:ref object:ref level:short ''count:short''


Adds an object to a leveled creature, spell, or item list. Count defaults to 1 if unspecified.
Adds an object to a leveled creature, spell, or item list. Count defaults to 1 if unspecified.
==Notes==
* Changes to existing leveled lists are not saved.  However, changes to a [[CloneForm]]ed leveled list ''will'' be saved.
* You can add any item to a list, but the engine will probably go haywire if you add abnormal items to a leveled list that is actually used in the game world.
** This issue is fixed in v0015. <s>Cloned objects of any type will be removed from a leveled list after the second time the game is saved and then reloaded.</s>


==See Also==
==See Also==
Line 15: Line 20:
[[Category:Inventory Functions]]
[[Category:Inventory Functions]]
[[Category:Inventory Functions (OBSE)]]
[[Category:Inventory Functions (OBSE)]]
[[Category:Leveled List Functions]]
[[Category:Leveled List Functions (OBSE)]]