SphereCommunity
npc remove - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: npc remove (/Thread-npc-remove)



npc remove - ograso - 06-17-2014 11:02 PM

Hey all,

How can I remove specific spawns in all over the world

all names start "c_human_" I want to remove. Need your help guys

like;
c_human_armorer
c_human_banker
c_human_magery
..
..
..


RE: npc remove - XuN - 06-17-2014 11:33 PM

That should do it.
forinstances i_worldgem_bit
if (<type>==t_spawn_char)
if (STRMATCH("c_human_*","<more1>")==1)
remove
endif
endif
endfor


RE: npc remove - ograso - 06-18-2014 12:31 AM

(06-17-2014 11:33 PM)XuN Wrote:  That should do it.
forinstances i_worldgem_bit
if (<type>==t_spawn_char)
if (STRMATCH("c_human_*","<more1>")==1)
remove
endif
endif
endfor

Thanks alot