Difference between revisions of "GetIsAlignment"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>JT (no spaces in alignment values) |
||
Line 15: | Line 15: | ||
=='''Notes'''== | =='''Notes'''== | ||
*Valid alignment values are: | *Valid alignment values are: | ||
** | ** VeryGood | ||
** Good | ** Good | ||
** Neutral | ** Neutral | ||
** Evil | ** Evil | ||
** | ** VeryEvil | ||
Latest revision as of 05:21, 21 February 2010
Description[edit | edit source]
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[edit | edit source]
[ActorRef.]GetIsAlignment alignment
Examples[edit | edit source]
FlashRef.GetIsAlignment Neutral
Returns a 1, because Flash has a neutral alignment.
Notes[edit | edit source]
- Valid alignment values are:
- VeryGood
- Good
- Neutral
- Evil
- VeryEvil