ID:165760
 
Hello, I was wondering.....From what I've seen I think I would have to do something like this

obj
var
damage

obj
bullet
icon = 'objects.dmi'
icon_state = "bullet"
damage = 10

-----------------------------------------------------------
!!!!DUN DUN DUN!!! Did you notice the problem? There's no verb on how to shoot it, now I've checked Byond found tutorials for projectiles but they are like "You have to implement your damage system here" and I'm like....I dunno how to implement my damage process there. So anyway I do not know how to use the Mov() proc or whatever. Can someone please help me? All I want is a bullet that shoots whichever way the mob(character) is facing and if it hits something it hurts it. Now I've tried this but have failed which made me a bit sad, but still I came to the Byond Community to help me, so please if you can spare me a moment.
Thanks for reading!
In response to Mecha Destroyer JD
That works almost how I want it, and is very usefull but I need like so you have to Click it, not just Choose from screen. Although that works great, not up to what I need.
In response to Renparo
Oh I see what you mean. What you do is a create a object that has a modified click() to it. You're gonna need to make another list if you don't want it to be in the player's inventory though..Anyways:
obj
Spell1
Click()
//the workings of the projectile code

And that should be it..