AmIAHumanoid(object)

From NWN Lexicon

Returns TRUE if the target is a humanoid.

int AmIAHumanoid(
    object oTarget
);

Contents

[edit] Parameters

oTarget
The creature to determine if it is a humanoid.

[edit] Description

Returns TRUE if oTarget is one of the humanoid races. FALSE if it's not. The term "humanoid" refers to any being whose body structure resembles that of a human. In NWN those are all player races, goblinoids, orcs, monstrous, and reptilians.

[edit] Remarks

Refers to RACIAL_TYPE_* constants.

This function should be Custom Content compatible.

[edit] Requirements

#include "nw_i0_spells"

[edit] Version

???

[edit] See Also

functions:  GetSubRace
constants:  RACIAL_TYPE_*


author: ShaDoOoW, editor: Mistress

Personal tools
Categories