PRC8/nwn/nwnprc/trunk/scripts/urang_hips.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

24 lines
816 B
Plaintext

#include "prc_inc_spells"
#include "x0_i0_modes"
void main()
{
object oPC = OBJECT_SELF;
if(GetIsAreaNatural(GetArea(oPC)) != AREA_NATURAL)
{
FloatingTextStringOnCreature("*You need natural surroundings to camouflage yourself in front of your foes.*", oPC, FALSE);
return;
}
object oSkin = GetPCSkin(oPC);
DelayCommand(0.2, SetActionMode(oPC, ACTION_MODE_STEALTH, TRUE));
DelayCommand(0.21, UseStealthMode());
DelayCommand(0.2, ActionUseSkill(SKILL_HIDE, oPC));
DelayCommand(0.2, ActionUseSkill(SKILL_MOVE_SILENTLY, oPC));
//AddItemProperty(DURATION_TYPE_TEMPORARY,PRCItemPropertyBonusFeat(31),oSkin,3.0f);
AddSkinFeat(FEAT_HIDE_IN_PLAIN_SIGHT, IP_CONST_FEAT_HIDE_IN_PLAIN_SIGHT, oSkin, oPC, 3.0f);
SetActionMode(oPC, ACTION_MODE_STEALTH, TRUE);
}