Enjoy BYOND? Contribute today!
Nov 14 2003, 7:58 pm
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.
Nov 14 2003, 8:47 pm
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 © 2015 BYOND. All rights reserved.
Terms of Service