intercept progs for abbreviations of commands

For builders to discuss and ask building questions.
Post Reply
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

intercept progs for abbreviations of commands

Post by Kregor » Thu May 19, 2005 5:35 am

If I want to put an intercept on a mob to keep people from going a certain direction (like I am assuming the watch wizard in the barracks uses to keep non-watch members from entering, or the paladins in the Mystran temple) Do I have to put a separate prog for both "east" and "e"?

Or if this is done an easier and less lines of code way, how is it done?
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Post by Dalvyn » Thu May 19, 2005 8:03 am

You need only one, on east. It will intercept e.

Note that if you intercept on e, it might not trigger if the player types 'east'.
Image
Post Reply