PlayerWearsUniform
From NWN Lexicon
Contents |
[edit] PlayerWearsUniform(object)
Checks if a PC has a certain uniform equipped.
int PlayerWearsUniform( object oPC );
[edit] Parameters
oPC
Player to check for uniform.
[edit] Description
Returns TRUE if oPCâs equipped uniform has the correct tag, as determined by the function GetUniform() ; Returns FALSE in all other cases, including errors.
[edit] Remarks
Found in nw_j_guard.nss line 130
Though Biowareâs way of doing this may be of little use to the rest of us, it can still be a good way to learn how to make guards that attack the player if he isnât wearing the correct uniform.
[edit] Requirements
#include " nw_j_guard "
[edit] Version
1.28
[edit] See Also
functions: |
author: Lilac Soul, editor: Mistress additional contributor: Lilac Soul