17 lines
329 B
Plaintext
17 lines
329 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oItemToTake;
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Remove items from the player's inventory
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "bgarricksnote");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
|
|
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0f, 2.0f));
|
|
|
|
}
|