okokokok Posted December 19, 2010 Share Posted December 19, 2010 How do i check a reference for being human? Link to comment Share on other sites More sharing options...
Maskar Posted December 19, 2010 Share Posted December 19, 2010 If you meant humanoid (Imperial, Nord, etc.) you could use something like: if me.GetCreatureType == -1 ; humanoid found endif Link to comment Share on other sites More sharing options...
okokokok Posted December 19, 2010 Author Share Posted December 19, 2010 (edited) If you meant humanoid (Imperial, Nord, etc.) you could use something like: if me.GetCreatureType == -1 ; humanoid found endifAcording to this -1 isn't even listed and if you ment 1 thats not humanoid thats daedra. 3 is humannoid. Im confused please elaborate....also what if i want to all more than 1 creature type? what do i do than? Edited December 19, 2010 by okokokok Link to comment Share on other sites More sharing options...
Maskar Posted December 19, 2010 Share Posted December 19, 2010 (edited) Although it's not mentioned, -1 does work for humanoids (3 doesn't do this). I know this for a fact, as I use it in one of my own mods. Edited December 19, 2010 by Maskar Link to comment Share on other sites More sharing options...
Deleted1848331User Posted December 19, 2010 Share Posted December 19, 2010 You can also use GetPlayableRace == 1 or GetIsPlayableRace == 1, can't remember which one. (Or 0 too check if it's not a playable race, but this checks for humanoid unless you have those goblin dudes as a playable race.) Link to comment Share on other sites More sharing options...
okokokok Posted December 19, 2010 Author Share Posted December 19, 2010 Although it's not mentioned, -1 does work for humanoids (3 doesn't do this). I know this for a fact, as I use it in one of my own mods.acutally i tryed it in this line if GetPCInfamy >= GetPCFame && TargetRef.GetCreatureType == -1 && TargetRef.GetDead == 1Its effectivness is very inconsistent... Link to comment Share on other sites More sharing options...
Shadowfen Posted December 19, 2010 Share Posted December 19, 2010 Although it's not mentioned, -1 does work for humanoids (3 doesn't do this). I know this for a fact, as I use it in one of my own mods.acutally i tryed it in this line if GetPCInfamy >= GetPCFame && TargetRef.GetCreatureType == -1 && TargetRef.GetDead == 1Its effectivness is very inconsistent... Is it the GetCreatureType that is inconsistent or the GetDead? I've experienced interesting results from GetDead... Link to comment Share on other sites More sharing options...
Maskar Posted December 19, 2010 Share Posted December 19, 2010 I have yet to find any humanoids which aren't found using GetCreatureType == -1. Maybe the issue is somewhere else. Link to comment Share on other sites More sharing options...
okokokok Posted December 21, 2010 Author Share Posted December 21, 2010 I have yet to find any humanoids which aren't found using GetCreatureType == -1. Maybe the issue is somewhere else.you might be right, i posted the whole script up --> Right here <--if you want to help me locate the problem. Link to comment Share on other sites More sharing options...
Recommended Posts