Get Started
·
Register
·
Login
Posts
ID:173785
Creations
Shrapnel.
in
Developer Help
[Tips]
ID:173785
Nov 14 2003, 7:58 pm
Enigmaster2002
How would I create the effect of shrapnel? IE I throw a fragmentation grenade, and a piece of shrapnel goes flying in each of the eight directions.
#1
Nov 14 2003, 8:47 pm
DarkView
You could either just do a for(var/mob/PC in view(3, blastloc)) spawn() ShrapnelEffect(PC).
Or you could go the other way and make eight objects, then step(shrapnel, DIR) in each direction, and put the effect in the bump() proc.
Copyright © 2013 BYOND. All rights reserved.
Or you could go the other way and make eight objects, then step(shrapnel, DIR) in each direction, and put the effect in the bump() proc.