Hi guys!
I'm fairly new to the engine and i'm loving it so far. But i ran in to a problem using an inventory item on entity.
Every time i click on the region with my inventory item selected actor performs regular on "LeftClick" events.
Debug window shows no errors though.
I would really appriciate the help!
Here's the script
#include "scripts\base.inc"
on "LeftClick"
{
actor.GoTo(996, 412);
actor.TurnTo(DI_RIGHT);
actor.Talk("There could be something interesting on the other side.");
actor.Talk("If only i had something to help me to cross that gap...");
}
on "LeftDoubleClick"
{
actor.RunTo(996, 412);
actor.TurnTo(DI_RIGHT);
actor.Talk("There could be something interesting on the other side.");
actor.Talk("If only i had something to help me to cross that gap...");
}
on "ledder"
{
actor.GoTo(995, 366);
actor.TurnTo(DI_LEFT);
actor.PlayAnimChannel(0,"pickup_low");
Game.DeleteItem("ledder");
}