trigger on off

Posted by WRTIII on Sun 08 Jun 2003 06:15 PM — 3 posts, 14,274 views.

Canada #0
Ok I am stumped onthis one I know it's simple but bleh...

In the game you can see further ahead than just the room your are in.. they are not really rooms they are proper streets..

I might see an item...
You see a young messenger and a thin telescope behind
you.

but I still need to walk east 3 times to get to it.

The problem I am having is that when it first sees it It tries to Get it and since I am not close enough I get the message..

A thin telescope is too far away to be picked up.
which sets the trigger off again
A thin telescope is too far away to be picked up.
and again
and so on so forth instantly spamming the game with many lines of scroll by the time I finally reach the item and pick it up so that the trigger stops because it trys to pick it up the last time and it says There is nothing there. and does not match.

I figure if I could just make it turn off the trigger for 2 second then at least I would only be sending 1 command every two seconds not 10 in 1 second.

Thanks
WRTIII
Australia Forum Administrator #1
Your triggers should be organised so they don't match the wrong things.

For example, you could have a trigger:

* is too far away to be picked up.


This could be evaluated early (ie. have a low sequence number) and thus stop the later trigger matching so it doesn't try to get it again.
Canada #2
I had tried that but it didn't work but I realized I had put keep evaluting and was not using sequence. It works perfect now Thank you very much. hehe I'm actually learning things woo hoo :)
thank you

wrtiii