GetIsAlignment
Revision as of 12:45, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Description
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.
Syntax
[ActorRef.]GetIsAlignment alignment
Examples
FlashRef.GetIsAlignment Neutral
Returns a 1, because Flash has a neutral alignment.
Notes
- Valid alignment values are:
- Very Good
- Good
- Neutral
- Evil
- Very Evil