Add alias for command?
NecroDeath
23 Sept 2016, 13:33Is it possible to add an alias to a command?
I have a point in the game where the player can 'buy beer' which runs quite a complicated script. I want the player to also be able to use 'buy drink' or 'buy a beer' or 'order a pint', but if I simply duplicate the 'buy beer' command and paste with different expression i.e. 'buy drink' it causes me logic problems.
The Pixie
23 Sept 2016, 15:25Just concatenate them with semi-colons.
buy beer;buy drink;buy a beer
If the drink is ab object, it is better to let Quest match the object, using its alt names (Object tab), then the command is just
buy #object#;purchase #object#
You might want to look at this thread too:
http://textadventures.co.uk/forum/quest/topic/k1jdaxmpk0m8xj-zhmev8w/open-bar-question
NecroDeath
23 Sept 2016, 15:40genius! That saves me boatload of hassle