![]() |
Animal Respawn / Guardian - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Animal Respawn / Guardian (/Thread-Animal-Respawn-Guardian) Pages: 1 2 |
Animal Respawn / Guardian - bolaosoft - 11-07-2013 01:03 PM Hello guys, I've been reading the wikki, but I can not finish my first script, I do not know exactly where this error, I will say that I wish he would do and put it below. The idea is a simple spawn Mustang Guardian on him, then when you kill the guardian is so tamar Mustang, however I can not make the Mustang does not disappear when the guardian dies ... What is missing? Code: [CHARDEF 90001] Obrigado pela ajuda. RE: Animal Respawn / Guardian - pinku - 11-07-2013 05:52 PM This? Code: ON=@Death RE: Animal Respawn / Guardian - bolaosoft - 11-07-2013 11:16 PM (11-07-2013 05:52 PM)pinku Wrote: This? I think not, the Mustang is still fading along with the guardian. RE: Animal Respawn / Guardian - Mordaunt - 11-07-2013 11:27 PM If the NPC is riding the horse, and I assume it is, you will have to recreate the animal upon death RE: Animal Respawn / Guardian - bolaosoft - 11-07-2013 11:30 PM (11-07-2013 11:27 PM)Mordaunt Wrote: If the NPC is riding the horse, and I assume it is, you will have to recreate the animal upon death I thought of this solution, but how about it? something like ... ON = @ DEATH NEW_NPC=i_mt_horse_tan COLOR = 0819 Does not work, sorry but I am beginner even :/ RE: Animal Respawn / Guardian - Mordaunt - 11-07-2013 11:43 PM i_mt_horse_tan is the mount item, you want on=@death serv.newnpc c_horse_tan new.p <p> in order to create the npc itself RE: Animal Respawn / Guardian - bolaosoft - 11-08-2013 12:04 AM Uhnnn now came another horse, but not any inherited characteristic that was set as the color for example and was not near the spawn, walked freely. RE: Animal Respawn / Guardian - Mordaunt - 11-08-2013 12:33 AM Ok, so set the color again.. What else are you wanting it to do? RE: Animal Respawn / Guardian - bolaosoft - 11-08-2013 12:35 AM I actually changed the c_horse_tan for defname a mustang and already decided ... Thank You Very Much. RE: Animal Respawn / Guardian - Alaric - 11-08-2013 12:40 AM as mord said... serv.newnpc new.p and for color add also new.color=xyz |