Difference between revisions of "GetIsCreatureType"
Jump to navigation
Jump to search
imported>Btbgfel (→Syntax) |
imported>Btbgfel |
||
Line 11: | Line 11: | ||
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, see enumeration in notes section). | ||
Note: New Vegas has different indexes from the following one. Supermutant was index 4(the right one, as it is used supermutants slaying perk) instead of Mutated Animal, for example. | |||
This page was edited in 09/01/17, so it is possible updated to fallout 4 data. If anyone has old new vegas one, please consider add it in this page. 14/01/17 | |||
{{Creature_Types}} | {{Creature_Types}} |
Revision as of 04:13, 14 January 2017
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).
Note: New Vegas has different indexes from the following one. Supermutant was index 4(the right one, as it is used supermutants slaying perk) instead of Mutated Animal, for example.
This page was edited in 09/01/17, so it is possible updated to fallout 4 data. If anyone has old new vegas one, please consider add it in this page. 14/01/17
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 |