1
Technical forum / Apply Money on Cup and receive Book. How to scripting
« on: July 03, 2009, 02:07:24 PM »
Hi to all!
I have question.
So. I have 3 items. Money, Сup and Book.
I need apply Money on Cup in inventory, and receive Book.
Please help. How to create this script?
This code in Cup script doesnt work!
on "Money"
{
Game.Interactive = false;
actor.Talk("I guess I find the book");
Game.CreateItem("book");
}
PS. Sorry for my english.
I have question.
So. I have 3 items. Money, Сup and Book.
I need apply Money on Cup in inventory, and receive Book.
Please help. How to create this script?
This code in Cup script doesnt work!
on "Money"
{
Game.Interactive = false;
actor.Talk("I guess I find the book");
Game.CreateItem("book");
}
PS. Sorry for my english.