Hmm another day another problem. Sorry for the many posts over the last few days but I am very new to scripting and spend hours looking at code/documentation before posting.
anyway, I have this in my room script
function oWatch_Interact()
{
cMainChar.Walk(467, 460, eBlock, eWalkableAreas);
cMainChar.Say ("picked it up");
oWatch.Visible = false;
cMainChar.AddInventory (iWatch, 3);
}
function oWatch_Look()
{
cMainChar.Walk(467, 460, eBlock, eWalkableAreas);
cMainChar.Say ("aah a watch");
}
when I click on the item and choose look (using a verbcoin) It runs both parts of this code. Always starting with the - function 0Watch_Look() no matter which
verbcoin button I click (look or interact)
so it says "aah a watch" then straight away "picked it up" then picks it up. Regardless of which button is pressed on the verbcoin
I am using the verbcoin template
thanks in advance
anyway, I have this in my room script
function oWatch_Interact()
{
cMainChar.Walk(467, 460, eBlock, eWalkableAreas);
cMainChar.Say ("picked it up");
oWatch.Visible = false;
cMainChar.AddInventory (iWatch, 3);
}
function oWatch_Look()
{
cMainChar.Walk(467, 460, eBlock, eWalkableAreas);
cMainChar.Say ("aah a watch");
}
when I click on the item and choose look (using a verbcoin) It runs both parts of this code. Always starting with the - function 0Watch_Look() no matter which
verbcoin button I click (look or interact)
so it says "aah a watch" then straight away "picked it up" then picks it up. Regardless of which button is pressed on the verbcoin
I am using the verbcoin template
thanks in advance