[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "IsClassAttribute"
Jump to navigation
Jump to search
m
None
imported>Haama (Fixed syntax, example, added link to Stats list) |
imported>EShaeffer54 m (None) |
||
Line 10: | Line 10: | ||
set attribute to player.IsClassAttribute Agility | set attribute to player.IsClassAttribute Agility | ||
if (attribute == 1) | if (attribute == 1) | ||
messagebox "Agility is one of the Attributes of your class." | |||
else | else | ||
messagebox "Agility is NOT one of the Attributes of your class." | |||
endif | endif | ||
==Notes== | ==Notes== | ||
*If called on a reference it will attempt to find the class from that referenced NPC and use that. | *If called on a reference it will attempt to find <span class="plainlinks">[http://ibsdietplan.org <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">IBS</span>] the class from that referenced NPC and use that. | ||
*If a class FormID is passed, that takes precedence. | *If a class FormID is passed, that takes precedence. | ||