![]() |
PETS REFERENCE - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: PETS REFERENCE (/Thread-PETS-REFERENCE) Pages: 1 2 |
PETS REFERENCE - kn4tseb - 08-20-2014 11:09 AM im playing with hunger event with pets and i'd like to know if there is a flag when a pet is stabled or shrunk?, in those states is the memory_ipet.link the only reference to its owner??? thats all for now, thank you. RE: PETS REFERENCE - kn4tseb - 08-20-2014 03:16 PM Nevermind, i think i got but i need some help... when a pet is stabled what exactly happens to it??? as i said im working with hunger event and there's a few things i must know. is there any event associated when a pet is stabled or retreived??? or when its shrunk or unshrunk? and an action or event associated when a char becomes a pet when tamed?? i'd be very greatfull if you can help me with some of this... thank you very much! RE: PETS REFERENCE - XuN - 08-20-2014 04:32 PM In both cases the pet will have statf_ridden. There's no default 'event' for that, however you can do yours easily tweaking the shrink potion and typedef t_figurine. For stabler ... in speech/jobAnimal.scp you can add your code. RE: PETS REFERENCE - kn4tseb - 08-21-2014 12:33 AM So, shrink potion and t_figurine for shrinking/unshrinking in speech/jobAnimal.scp for stabler and skillsuccess 35 act beeing the target for taming would make the job? ----------------------------------- PD: what does ithis mean? t_figurine 37 This type is used for shrunk NPCs (essentially magic figurines), that turn into a "pet" creature when double clicked. It leverages the following properties: MORE2 = The UID of the off-line creature (in "stable master" inventory) And one more thing, i need to make a reference to the UID that the t_figurine will turn when dclicked but dunno how.. what i want is that when t_figurine is dclicked, pet FOOD points change to a new value same thing about the stable, with ON=*petstable* i cannot make the reference to the targetted creature :/ RE: PETS REFERENCE - admin phoenix - 08-21-2014 07:27 PM I shared a stabler script in the script submission section. maybe it will help you? RE: PETS REFERENCE - XuN - 08-21-2014 08:44 PM Create a mount, .info on it, remember it's UID, .Shrink (or use a shrink potion), .info on the t_figurine that appeared, you got all the info you asked ![]() And for PetStable I believe its hardcoded ... maybe you want to take a look on Admin Phoenix's script. RE: PETS REFERENCE - kn4tseb - 08-22-2014 02:06 AM Thanks, i think its great phoenix that you were sharing high quality scripts with us, i downloaded yesterday as soon as i saw it heheheh i will take a look a it... i need to understand only one thing more.. when a pet is shrunk or stabled, what exacly happens to the pet character??? it disspaears??? its stored somewhere in the server memory?? because the t_figurine is just an item with pet's memory data. thats all ^^ RE: PETS REFERENCE - darksun84 - 08-22-2014 03:11 AM After you stable an animal, type .xbank and target the stabler ![]() RE: PETS REFERENCE - kn4tseb - 08-22-2014 04:28 AM OH!!! lool hehee, ok, thanks! This is interesting, while stabled, the pet (t_figurine) keeps the link from its master, but when shrinked, it's not... why is that? =] Re: RE: PETS REFERENCE - Extreme - 08-22-2014 04:50 AM (08-22-2014 04:28 AM)kn4tseb Wrote: OH!!! lool hehee, ok, thanks! To know who is the owner.. A t_figurine (shrinked) item don't have owner because it can be opened by anyone. |