Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

particles on movement

amiz Georgette
Registered User
Join date: 8 Jul 2008
Posts: 22
08-25-2009 13:14
ive see the poofers that work on flight and thats something what i want
but an attachment when an av moves just springs out a few particles on movement.
I dont think i can grasp what I need to do to make it.
I have the particle parameters made but unsure how to make it detect movement to set it off



Thanks
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
08-25-2009 13:40
You'll need to use a timer (llSetTimerEvent() and the timer() event) and check llGetAgentInfo() for the appropriate flags to know when to turn them on and off again.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
08-25-2009 15:47
moving_start, and moving_end have worked consistently for me for flight effects. changed_region is usually good for poofers.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
08-25-2009 16:30
I have had some issues in the past with moving_start and moving_end not firing, so I stopped using them. Maybe they have fixed it finally, though.

ETA: JIRA on the issue: http://jira.secondlife.com/browse/SVC-1004
Levio Serenity
Registered User
Join date: 19 Apr 2009
Posts: 1
08-26-2009 12:17
From my experience moving_start() and moving_end() only work reliably when the script is in the root prim. If your script is in a child prim, you may or may not get them, it's erratic at best.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
08-26-2009 16:42
the moving events tend to behave better in attachments, including the caveat to use the root, at least for flying (though stop doesn't trigger when you are drifting down, and doesn't play well with some flight assists) in physical objects... meh.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -