Initial Upload
Initial Upload
This commit is contained in:
21
_module/nss/percive_thief.nss
Normal file
21
_module/nss/percive_thief.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastPerceived();
|
||||
string sKey = "thief";
|
||||
int iValue=1;
|
||||
SetLocalInt(oPC,sKey,iValue);
|
||||
if (!GetIsPC(oPC)) return;
|
||||
if (!GetLastPerceptionSeen()) return;
|
||||
ActionUseSkill(SKILL_PICK_POCKET,oPC);
|
||||
ActionWait(3.0);
|
||||
ActionMoveAwayFromObject(oPC, TRUE, 80.0);
|
||||
ActionWait(5.0);
|
||||
ActionPlayAnimation (ANIMATION_FIREFORGET_HEAD_TURN_LEFT,1.0,3.0);
|
||||
ActionPlayAnimation (ANIMATION_FIREFORGET_HEAD_TURN_RIGHT,1.0,3.0);
|
||||
ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,1.0,5.0);
|
||||
ActionUseSkill(SKILL_HIDE,oPC);
|
||||
ActionWait(5.0);
|
||||
ActionMoveAwayFromObject(oPC, TRUE, 80.0);
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user