[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
Added example
imported>WereWolf (New page: A command for Oblivion Script Extender Returns whether the passed attribute is an attribute of the class. '''Syntax:''' (isClassAttribute:bool) ''...) |
imported>WereWolf (Added example) |
||
Line 5: | Line 5: | ||
'''Syntax:''' | '''Syntax:''' | ||
(isClassAttribute:bool) ''reference''.IsClassAttribute attribute:short ''class:ref'' | (isClassAttribute:bool) ''reference''.IsClassAttribute attribute:short ''class:ref'' | ||
'''Example:''' | |||
short attribute | |||
set attribute to player.IsClassAttribute 3 | |||
if (attribute == 1) | |||
messagebox "Your class has agility." | |||
else | |||
messagebox "Your class does not have agility." | |||
endif | |||
==Notes== | ==Notes== |