Source code is at github.com/punyauk/VivoSim

Question Animal reproduction - how the rez box/HUD works

  • Admin
  • Topic Author
  • Thank you received: 258

Animal reproduction - how the rez box/HUD works was created by Admin

Posted 03 Feb 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!

by Admin
The following user(s) said Thank You: Louis Quatorze

Please Log in or Create an account to join the conversation.

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