on (cant+gamecommand)

Script Reference Events

on (cant+gamecommand) //Advanced { }

Used for : Characters.

Parameters :

- gamecommand - Name of a gamecommand like look, use or talk .

Description :

Events that is triggered when a certain gamecommand was not handled. Example : When the player tries to talk to an object, the object obviously has no on(talk) event. In this case the game will look for an on(canttalk) event in the charactersscript, so he can say something like "I can't talk to that"