Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

can an object emit an object???

Belladonna DuCasse
Registered User
Join date: 26 Jan 2007
Posts: 29
04-28-2007 05:30
OK probably NOT the right place to ask this but I KNOW a script is involved.
I have built a butterfly, and I have made it fly - well, move using Puppeteer - what I want to know is .... is it possible to have it emit copies of itself? For example butterfly emitters emit copies of the texture used right? I want my little flying/moving butterfly to emit flying/moving butterflies - I tried putting the particle script in with the "object" which is my butterfly and then kicked myself because it isnt a texture and I have no idea how to make the script recognise the object.
I guess I just need to know if my project is an impossible one or if it IS possible can someone point me at the correct script needed?
Thanks,
Belladonna
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
04-28-2007 07:13
Go see my butterflies at Evolving Images (or Evo's Flowers) in Tammora(52, 183, 64).
If that is what you want then IM me.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-28-2007 08:10
You are talking about self replicating which is not truely possible.
Instead your object contains a copy of itself and rezzes that.
The command in LSL is llRezObjectobjectname, pos, velocity, rotation, number);
Kokiri Saarinen
Quoted for truth
Join date: 7 Jan 2006
Posts: 44
04-29-2007 05:02
"You are talking about self replicating which is not truely possible."

Depends how you define "truly", your butterfly simply needs the object "shell" of itself to make many many copies. Essentially it uses llReObject to rez the shell, then uses llGiveInventory coupled with the new copy's id to pass on all of the scripts and the shell itself. This can continue on indefinitely, with the original butterfly capable of producing more copies, as well as each copy able to produce more copies ^_^

This has been the source of many of the gridwide greifer attackers on second life, so some care is needed in its use.

-Kokiri
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-30-2007 06:32
From: Kokiri Saarinen
"You are talking about self replicating which is not truely possible."

Depends how you define "truly", your butterfly simply needs the object "shell" of itself to make many many copies. Essentially it uses llReObject to rez the shell, then uses llGiveInventory coupled with the new copy's id to pass on all of the scripts and the shell itself. This can continue on indefinitely, with the original butterfly capable of producing more copies, as well as each copy able to produce more copies ^_^

This has been the source of many of the gridwide greifer attackers on second life, so some care is needed in its use.

-Kokiri


As I stated its not possible in the sense the the object can just "clone" itself, it needs to hold an object to rez in the first place.
Belladonna DuCasse
Registered User
Join date: 26 Jan 2007
Posts: 29
04-30-2007 19:00
thanks for your help guys, I appreciate it :-)
I think it is more a modified swarm script I need, I have Max's script which is great but I lose the animation of the original object when it rezzes and the objects rez too far from the main prim - it's fine, I'm stumped for now but will keep trying. I'm new to scripting and usually mod an original one to suit my needs but that swarm script is scarey - you gotta catch them fast!
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
05-01-2007 04:44
From: Belladonna DuCasse
thanks for your help guys, I appreciate it :-)
I think it is more a modified swarm script I need, I have Max's script which is great but I lose the animation of the original object when it rezzes and the objects rez too far from the main prim - it's fine, I'm stumped for now but will keep trying. I'm new to scripting and usually mod an original one to suit my needs but that swarm script is scarey - you gotta catch them fast!


The scripts I gave you can be tweaked for the objects to rez closer.
Belladonna DuCasse
Registered User
Join date: 26 Jan 2007
Posts: 29
05-01-2007 11:51
I tweaked! :)))))) MUCH better!! Thanks Max :)