|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
06-30-2008 08:46
Hi,
Say I wanted moving ores on a boat, how can I move all prims that make up the ore together as one, even tho there multiple prims and all inside the boat object?
|
|
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
|
06-30-2008 10:51
You don't have much choice but to put a script in every ore prim. So you can send a link message across the whole boat and the ore prims will move in a (more or less) synchronized way. llMessageLinked(LINK_SET, 123, "move!!!", ""  ; If other prims in the boat also listen to link messages, do not forget to add a filter on the integer for example. link_message(integer sender, integer num, string msg, key id) { if (num == 123) { // Talking to me... Let's do something! } } Another (very unrealistic) solution if your boat is physical is to just drop the ore as separate physical prims into the boat. If the boat rocks too much, the ore will move by itself and eventually go over board. But do not forget to add some biodegradability script in the ore in order not to litter the bottom of SL oceans... 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
06-30-2008 13:54
another option is to use a follower script in the the oars so they need not be attached...
another thought is having them as attachments with the relevant animation
_____________________
| | . "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... | - 
|
|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
07-01-2008 02:32
So basicly I need to set up an animation for each rotating prim, and try to get them sycronised?
|
|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
07-01-2008 02:34
Does anyone have a script of anything that does this, just so I can have a look and play with a working script?
|
|
Renee Roundfield
Registered User
Join date: 10 Mar 2006
Posts: 278
|
07-01-2008 08:14
Have you considered using sculptie oars?
|