SphereCommunity

Full Version: Pet system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
Reference URL's