18 lines
410 B
Plaintext
18 lines
410 B
Plaintext
|
|
||
|
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());
|
||
|
}
|
||
|
|