Initial commit
Initial commit [v9.7]
This commit is contained in:
17
_module/nss/pc_anim_getmd_s6.nss
Normal file
17
_module/nss/pc_anim_getmd_s6.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
AssignCommand(oPC, ActionMoveToObject(GetObjectByTag("sas6")));
|
||||
|
||||
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_GET_MID, 1.0f, 2.0f));
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "ropecoil");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
ActionTakeItem(oItemToTake, GetPCSpeaker());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user