SphereCommunity
Moving Blood - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Expired/Outdated Versions (/Forum-Expired-Outdated-Versions)
+--- Forum: Sphere 56a/b/c (/Forum-Sphere-56a-b-c)
+--- Thread: Moving Blood (/Thread-Moving-Blood)



Moving Blood - Llirik - 03-29-2025 01:48 AM

How a create script? After Damage on Zombie he Create Blood on all around? This is:

ON=@Hit
DAMAGE
SRC.NEWITEM i_blood
DORAND 567 or 8
MOVE NE
MOVE SW
...
ENDDO

Thank you!

Thank you! I release this problem:

[function make_blood]
for 3
serv.newitem { 0122b 1 0122c 1 0122d 1 0122e 1}
new.attr=attr_decay
new.timer=5
new.color=<bloodcolor>
new.p=<p>
dorand 8
new.p=<p>
new.move n
new.move ne
new.move e
new.move se
new.move s
new.move sw
new.move w
new.move nw
enddo
endfor