![]() |
Raise - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Raise (/Thread-Raise) |
Raise - mrkarlo - 06-03-2018 02:22 PM Hi, help me please in advice. Code: [function f_rslow] This script raise stone wall block from the underground. How could it be rewriten for an npc? instead of newitem newnpc=i_warrior, but my warrior does not get out of the ground and sits there. RE: Raise - darksun84 - 06-03-2018 07:55 PM Use serv.newnpc c_ogre and then new.p, same for the above RE: Raise - mrkarlo - 06-03-2018 11:14 PM Thank you Darksun, now c_ogre gettin out of the ground (serv.newnpc,new.p=<p>), but other lines of code do not work. The thing is that - npc should get out more slowly. RE: Raise - azmanomer - 06-04-2018 01:08 AM you need to replace all act as new like ; [function f_rslow] serv.newnpc c_ogre new.p=<p> new.m=0,1,-20 new.type=t_rslow new.timerd=1 new.morez=<p.z> new.attr=010 RE: Raise - mrkarlo - 06-04-2018 04:08 AM (06-04-2018 01:08 AM)azmanomer Wrote: you need to replace all act as new like ; Still he does not want to get out of the ground. With stone wall its ok, but with mobs.. ![]() Code: [typedef t_rslow] RE: Raise - darksun84 - 06-04-2018 04:38 AM These are item properties, while character properties are different: https://wiki.spherecommunity.net/index.php?title=Characters RE: Raise - mrkarlo - 06-04-2018 04:52 AM may i ask you to edit this script |