Difference between revisions of "SetLevel"
Jump to navigation
Jump to search
→Notes: Added link to walking inventory
imported>Haama (→Notes: Link is unnecessary in this case) |
imported>Haama (→Notes: Added link to walking inventory) |
||
Line 22: | Line 22: | ||
*Although called on a reference, this function actually changes the value on the base actor (thus the base value on all references of that base actor). | *Although called on a reference, this function actually changes the value on the base actor (thus the base value on all references of that base actor). | ||
*Using setlevel on an actor who carries a bow results in a CTD for both as a console command and in a script. | *Using setlevel on an actor who carries a bow results in a CTD for both as a console command and in a script. | ||
**To prevent this, first remove all bows, then use '''SetLevel''', then add the bows back. | **To prevent this, first remove all bows, then use '''SetLevel''', then add the bows back. (see [[Walking through Items in an Inventory]] for more information) | ||
==See Also== | ==See Also== |