|
fisher1231 Beginner
Joined: 27 Sep 2004 Posts: 18
|
Posted: Mon Oct 11, 2004 5:03 pm
Would #TRIGGER {%inwalk( )==0} work? |
Would #TRIGGER {%inwalk( )==0} work?
Is there any way to work in a trigger like this, im trying to use it, but not working, just wondering if its possible and which modifications has to be made. |
|
_________________ Johnny C Fisher |
|
|
|
The Raven Magician
Joined: 13 Oct 2000 Posts: 463
|
Posted: Mon Oct 11, 2004 8:49 pm |
It needs to be an expression trigger. You can change the trigger type on... er... on the screen that I can't recall offhand, and don't have since I just reformatted my computer. But I believe it's on the 3rd tab of the Trigger page, the options tab, in the upper right corner.
|
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Oct 12, 2004 12:19 am |
Actually that won't work as an expression trigger, Expression triggers are evaluated whenever a variable changes NOT when the value of a function changes.
|
|
|
|
fisher1231 Beginner
Joined: 27 Sep 2004 Posts: 18
|
Posted: Tue Oct 12, 2004 4:01 am |
crap...hey nex, I'm using that alias that you made and it works fine, EXCEPT im trying to make a couple separate scenarios and i can do an if inside onroomenter but i'd rather do onpickuproomenter and ondropoffroomenter, and a couple others, but if I change the name of the alias it dont work, and I do change the name where the alias is being called as well...I can't figure out the prob for the life of me...any ideas?
|
|
_________________ Johnny C Fisher |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Oct 12, 2004 12:30 pm |
The Only Alias's automaticly executed by zmud are as follows
ONROOMENTER //Executes on entry into a room via mapper
ONWALKEND //Executes in last room of a speedwalk //currently broken in 7.05
ONROOMCREATE //Executes whenever a new room is created
ATCONNECT //Executes upon connection to a mud
ATDISCONNECT //Executes upon disconnection
ATEXIT //Executes when Exiting Zmud? I Think.
It doesn't hurt to expand your onroomenter alias to include ifs. Perhaps if you posted the code you have and what you need it to do someone will help you out. |
|
|
|
|
|