Jump to content

Checking if its human -- scripting


okokokok

Recommended Posts

If you meant humanoid (Imperial, Nord, etc.) you could use something like:

 

if me.GetCreatureType == -1
; humanoid found
endif

Acording 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 by okokokok
Link to comment
Share on other sites

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 == 1

Its effectivness is very inconsistent...

Link to comment
Share on other sites

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 == 1

Its 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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...