HasEffectKeyword - ObjectReference
Revision as of 17:02, 21 October 2011 by imported>Jlundin
Member of: ObjectReference Script
Checks to see if the specified keyword is attached to a magic effect that belongs to an active effect currently on this reference.
Syntax
bool Function HasEffectKeyword(Keyword akKeyword) native
Parameters
- akKeyword: The Keyword to query for.
Return Value
Returns if this reference has an active effect coming from a magic effect with the specified keyword attached.
Examples
; Check to see if we have a fire attached on the player
if Game.GetPlayer().HasEffectKeyword(FireKeyword)
Debug.Trace("It burns!")
endIf