Look at VS look

Mike
01 Feb 2012, 20:52
Is there any way of changing the command set up so a player can just type "look #object#" instead of "look at #object#"?
I can't seem to find a way of editing the attributes of the look command, because i didn't set it, it's just part of the game.
Any help would be much appreciated, because other than this I'm really enjoying quest and slowly getting to grips with it, just the look at thing bugs me.
Thanks guys,
Mike

Alex
01 Feb 2012, 20:59
The built-in commands are all part of the Core library, which you can modify.

To modify the "look at" command, in the bottom left corner of the Editor window, click Filter, then "Show Library Elements". All the built-in commands will now be shown in the tree - the library ones are shown in grey.

In the tree, under Commands, select the "lookat" command. To edit it, you need to copy it into your game file by clicking the "Copy" button at the top right. You'll then be able to edit the command pattern.

Add a semicolon and then "look #object#" to the command pattern, so the whole pattern now looks like this:


look at #object#; x #object#; examine #object#; exam #object#; ex #object#; look #object#