Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
01-18-2005 18:08
In a script I wrote with moving_start and moving_end events, it looks like moving_end is never called if the script is in an attachment. Moving_start is called once right after the script initializes, and never again after that. Am I doing something wrong? Is this a bug or a feature? I would have hoped that it would call moving_start and moving_end to correspond with when the player moves the avatar and when the player stops moving the avatar.
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
01-18-2005 22:10
dunno if it's a bug or possibly avatars never hold completely still
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
01-18-2005 23:42
I'd be worried if my av stopped breathing. I dont' they can stop moving?
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
|
01-18-2005 23:51
Moving_start and moving_end on attachments... ... Eureka! Thank you Lex Neva! I've been looking for an easy solution for that sort of thing for a while now! I'm going to test an attachment with moving_start and moving_end in a moment. I'll come back if I can figure out what's happening. EDIT: It's firing for me just fine. Hell, it's firing TOO often to be of any use to me, actually. default { moving_start() { llSay(0, "Moving"); }
moving_end() { llSay(0, "Stopped"); } }
Try making sure that the movement tests are in a root prim. Child prims on attachments have funny bugs.
_____________________
</sarcasm>
|
Switch Case
Registered User
Join date: 18 Jan 2005
Posts: 4
|
01-19-2005 00:05
It works for you? Bizarre. I'll try it next time I'm in world. BTW, you're welcome for the idea 
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
01-19-2005 00:07
Uh... ignore her, she's not my alt or anything. *whistles*
|