ID:885371
 
(See the best response by Albro1.)


i need to know how to make projectiles for a gun(bullets)and melee weapons can some help me please?

best place to start from http://www.byond.com/developer/articles/resources because no one is going to help you if you are not going to try
Best response
Projectiles just require you to use a /mob or /obj and make it move. Give damage upon Bump()ing. For melee weapons, you can use Bump() as well. We aren't going to make it for you, only push you in the right direction. Developer Help is intended to help developers who have tried something but cannot get their code working.
ok thanks guys
for the melee would it be like this?
obj/var/str=5
obj
Knife
icon='knife.dmi'
str=5
Bump()