[sldev] Re: movement within the client

Argent Stonecutter secret.argent at gmail.com
Thu Jan 10 11:17:17 PST 2008


On 2008-01-10, at 12:48, Stan Vernier wrote:
> I kinda tried that with a while loop with gAgent.moveAt(1) in it,  
> but it just froze the client.  I took a look at some of the other  
> code for movement and it seems to only call a move command once and  
> then somewhere down the line the rest of the movement gets dealt  
> with.  For the movement floater, it looks like it uses  
> mMoveDownButton->setHeldDownCallback(moveUp).  I guess my question  
> is how to do this without holding a button?

You could look for the code that's already in the client for double- 
click autopilot, which seems to be doing pretty much what you want.




More information about the SLDev mailing list