GetActorType
Revision as of 11:33, 25 October 2006 by imported>GBHis
This isn't a function, but a work-around to get an actor's "type".
getactortype = GetIsCreature+(getisghost *3)+(getvampire *4)+IsActor+(isessential *9)
Here goes the values returned:
0 - Not an Actor 1 - NPC 2 - Creature 3 - NPC Ghost 4 - Creature Ghost (creatures considered ghost by the game-engine). 5 - NPC vampire 6 - Creature Vampire 8 - NPC Ghost AND Vampire 9 - Creature Ghost AND Vampire 10 - Essential NPC 13 - Essential NPC Ghost 15 - Essential NPC Vampire 18 - Essential NPC Ghost AND Vampire
I'm not fantastic at WIKI formatting, but I tried :)
Main article by --GBHis 11:31, 25 October 2006 (EDT) Suggestions go below (or in the TALK page):
[Category:Solutions]