GetIsAlignment

Revision as of 05:21, 21 February 2010 by imported>JT (no spaces in alignment values)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

GetIsAlignment tests if a selected actor has a specified alignment (Good, Evil, Neutral). The function returns a 1 if the alignment matches and returns 0 if it does not.

SyntaxEdit

[ActorRef.]GetIsAlignment alignment

ExamplesEdit

FlashRef.GetIsAlignment Neutral

Returns a 1, because Flash has a neutral alignment.

NotesEdit

  • Valid alignment values are:
    • VeryGood
    • Good
    • Neutral
    • Evil
    • VeryEvil