Phillip Wasp
Registered User
Join date: 8 Apr 2009
Posts: 15
|
12-06-2009 11:23
My apologies to all for being so blatantly thick-headed! I have exhausted every in-world and web sourse I have found...to no avail! I am designing a wind-mill with three seperate blades, of differing diameters. I can start all three rotating with a touch script (sperately, mind you) but I want all three to start rotating with a single touch- and stop with a touch too! I don't know if the link messages will work, and I have tried all sort of crazy configurations...but alas...no such luck! I need a professional to help me! Where might I find the answer to this delimma? I know not where to turn or seek help, and I am willing to try anything or look at any resource! I am learning to script, but alas, I know not enough yet to do it myself...I throw myself at the feet of the scripters on this site!
|
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
|
12-06-2009 14:30
I think you'll just have trouble trying to keep them timed in anyway unless they are linked. LinkMessages do not work with things unlinked, hence the name.
When linked, then, certainly, a single touch will start them together. Only the axle prim (made to be root) needs a touch and llTargetOmega (spin) in the script. If they must be unlinked, messages can be sent from one prim but timings could be a problem.
If it's really big, one sculpty megaprim would work easily for the whole blades' assembly.
_____________________
SCOPE Homes, Bangu -----------------------------------------------------------------
|
Phillip Wasp
Registered User
Join date: 8 Apr 2009
Posts: 15
|
Rotaring un-linked prims
12-06-2009 18:48
I'm so sorry...the blades turn at different speeds- hence the reason they are un-linked! If I could put some sort of touch script in the base (approximately 45 feet tall) and hve sperate scripts in the blades, this would probably work...but I can find no info on how it can be done- at least on my level of scripting knowledge! Any ideas as to who I should seek?
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-06-2009 20:16
you can just have the touch script (separate) send a specific message and the 3 rotation scripts can listen for it.
note that Prims can't listen to their own chat, so you'll want that touch in a different prim.
_____________________
| | . "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... | - 
|
Phillip Wasp
Registered User
Join date: 8 Apr 2009
Posts: 15
|
12-06-2009 20:30
I'll give it a go...and thank you!
|