Source code is at github.com/punyauk/VivoSim

Domanda Animal reproduction - how the rez box/HUD works

  • Admin
  • Autore della discussione
  • Ringraziamenti ricevuti 259

Animal reproduction - how the rez box/HUD works è stato creato da Admin

Posted 03/02/2020 10:38 #46
When you use the Rez box/HUD to get a new animal, the selected animal is rezed out of the object and a copy of the script called animal is placed in the new animal. The animals all contain a copy of themselves (without the animal script) so they can reproduce by doing the same as the rez box/HUD i.e. rez out the animal and send it their version of the animal script

This means that if you update the animal script, new rezzed animals will use that new script. Also, the 'update' feature replaces the animal script in existing animals with the new version.
As the animal script is stored as 'not running' in the rez box/HUD, it's important to test any changes to the animal script first before using the update feature, as syntax errors will mean all the updated animals will stop working when the faulty script is sent to it and you will have to either delete them or manually replace the script in every animal!

da Admin
I seguenti utenti hanno detto grazie : Louis Quatorze

Si prega Accesso o Crea un account a partecipare alla conversazione.

donate

hg.vivosim.net:8002:Mintor

hg.vivosim.net:8002:Lugo

hg.vivosim.net:8002:Sandy Island

hg.vivosim.net:8002:Julian Beach

opensim logo