Difference between revisions of "GetIsCreatureType"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
Line 32: Line 32:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]
[[Category:Condition Functions (GECK 1.1)]]

Revision as of 13:25, 15 August 2009

Description

GetIsCreatureType Returns 1 if creature is of the creature type specified (in parameter).

Syntax

[ActorREF.]GetIsCreatureType CreatureTypeIndex

Examples

If BuddyRef.GetIsCreatureType 5 == 1
This would determine if Buddy is of creature type #5 (a feral ghoul, see enumeration in notes section).

Notes

  • The creature types expected for GetIsCreatureType are:
    • 0 - Animal
    • 1 - Mutated Animal
    • 2 - Mutated Insect
    • 3 - Abomination
    • 4 - Supermutant
    • 5 - Feral Ghoul
    • 6 - Robot
    • 7 - Giant


See Also