#include "nw_i0_plot"

//Put this on action taken in the conversation editor
void main()
{

object oPC = GetPCSpeaker();

object oTarget;
oTarget = oPC;


  // Set the variables
    SetPLocalInt(GetPCSpeaker(), "intPelotaFinished", 1);


object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("loc_PeloraWinner");

lTarget = GetLocation(oTarget);

oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "lootbag003", lTarget);

}
