Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
ClemClem
Newbie


Joined: 05 Jul 2005
Posts: 1

PostPosted: Tue Jul 05, 2005 1:32 pm   

Problem with automatically locating the PG on the map
 
First of all I beg pardon for my poor english Smile
I'm in the process of evaluating and eventually purchasing zmud.
While i was writing a set of script capable of automatically move
my pg on the map I made I faced the following problem.

First the good part. Here's an alias that every 3 secs checks and
eventually repositions my pg on the map:

Code:

#ALIAS aaa {
  #while (@vai) {
    #wait 3000
    #find
  }
}


This alias works well but if I wrote a trigger that reposition
my pg after some weir event occurs it wont works.

Code:

#TRIGGER {you are exhausted} {
  cast 'refresh' @playerName
  #find
}


basically i see the look command but the pg isn't moved on the map (i'm in follow mode). Exclamation
As someone noted on another post it seems a problem of lost focus.
In fact if I repeatedly cause the execution of the script while writing to the keyboard
the map is updated.

Any help will be appreciated, by the way I've seen that similar questions were already
submitted on the forum but never asked.

Ciao e grazie :-)
Code:
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net