Script Reference |
on
(click) //Beginner } |
Used for : Objects, Characters, Items.
Description :
Event that is triggered when the player clicks on an object, a character or an item. In many cases this event contains a walkto scriptcommand.
Without a walkto command all gamecommand like "open" or "use" will be processed immediatly, otherwise the game will wait for the character to reach the destination of the walkmap command.