UT AttributeCheck
From Dragon Age Toolset Wiki
Revision as of 18:55, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = UT_AttributeCheck |brief = Checks the attribute level of oObject |param1type = int |param1name = nAttribute |param1desc = The attribute being checked |param1...')
Checks the attribute level of oObject
- Parameters:
- nAttribute
- The attribute being checked
- nLevel
- The level of the attribute being checked (UT_ATTR_HIGH, UT_ATTR_MED or UT_ATTR_LOW)
- oCreature
- the creature doing the attribute check
- Returns:
- TRUE if the attribute matches the specified level range, FALSE otherwise.
- Source:
- Core Resources.utility_h
Description
This function checks the attribute level of oObject. nAttribute should be a constant represneting one of the attributes. Notice that an attribute level is dynamic and depends on the player’s level – the player will need to keep increasing his attribute in order to keep it in the ‘high’ level.