![]() |
Shrink - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Shrink (/Thread-Shrink) |
Shrink - Alaric - 04-08-2013 10:05 AM Hi, a little problem on=@gethit shrink When player hits an npc with this trigger, shrink works. But, it doesnt work with NPC. I mean, NPC hits this NPC(with this trigger). Serv.log says that it's Undefined keyword 'shrink'. Any ideas? RE: Shrink - darksun84 - 04-08-2013 07:43 PM I think because as the command tele and resurrect are treated like a spell, so it's shrink. So it's possible that the flag SPELLFLAG_PLAYERONLY found in spherespells.scp in the shrink spell, forbids the npc to use it .(You have to restart the server when you remove it) RE: Shrink - Alaric - 04-08-2013 11:20 PM [spell 72] flags spellflag_targ_char (it is char....) spellflag_dir_anim (doesnt matter) spellflag_harm (doesnt matter) spellflag_fx_targ (targ living thing, it is living...) RE: Shrink - sco - 04-09-2013 06:19 PM You could just do it soft: PHP Code: on=@gethit |