Difference between revisions of "GetIsCreatureType"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>JT
 
(8 intermediate revisions by 4 users not shown)
Line 10: Line 10:


If BuddyRef.GetIsCreatureType 5 == 1<br>
If BuddyRef.GetIsCreatureType 5 == 1<br>
This would determine if Buddy is of creature type #5 (a feral ghoul, see enumeration in notes section).
This would determine if Buddy is of creature type #5 (a feral ghoul).
 
=='''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


{{Creature_Types}}


=='''See Also'''==
=='''See Also'''==
 
[[GetCreatureType]]


<!-- =='''Reference'''==
<!-- =='''Reference'''==
Line 32: Line 22:


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

Latest revision as of 02:53, 16 January 2017

Description[edit | edit source]

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

Syntax[edit | edit source]

[ActorREF.]GetIsCreatureType CreatureTypeIndex

Examples[edit | edit source]

If BuddyRef.GetIsCreatureType 5 == 1
This would determine if Buddy is of creature type #5 (a feral ghoul).

Index Type Description
0 Animal Dog, Vicious Dog
1 Mutated Animal Brahmin, Mirelurk, Mirelurk King, Molerat, Yao Guai
2 Mutated Insect Bloatfly, Giant Ant, Queen Ant, Radroach, Radscorpion, Fire ant, Fire ant soldier, Giant Radscorpion
3 Abomination Centaurs, Deathclaw, Failed FEV Subjects, Spore Carriers, etc.
4 Supermutant Supermutant, Supermutant Brute, Supermutant Chief, Supermutant Behemoth
5 Feral Ghoul Feral Ghouls, Glowing One
6 Robot Eyebot, Turrets, Mister Gutsy, Protectron, Robobrain, Sentrybot
7 Giant

See Also[edit | edit source]

GetCreatureType