SphereCommunity
SphereCommunity
>
Expired/Outdated Versions
>
Sphere 51a Help
> Pet system
Full Version:
Pet system
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
t9king
03-28-2020, 10:45 PM
How can I write a set of animal age script? For example, if I tame this horse, it will show the survival time immediately. If you don't ride the system for a while, it will automatically clean it up
jdchixin
04-17-2020, 08:39 AM
it's easy, you can test pet's age use "ONTRIGGER=TIMER"
like this
ONTRIGGER=TIMER
if <cont.age> > 36000 //about 10 hours
cont.remove
return 1
else
timer=60
return 1
endif
SphereCommunity
>
Expired/Outdated Versions
>
Sphere 51a Help
> Pet system
Reference URL's
SphereCommunity:
https://forum.spherecommunity.net/index.php
: