can someone explain to me how to use this? for now, i just want to have it so my character at least shoots something, preferably in a straight line(in the direction he's facing). for example's sake, let's say i have an icon in the file projectile.dmi, and it's icon state is bullet. the character is in the file person.dmi, and it's icon state is shooter. i just want to know how to use the missile command to get the "shooter" to shoot the "bullet". thanks.
Copyright © 2025 BYOND Software.
All rights reserved.
obj
bullet
icon = 'projectile.dmi'
icon_state = "bullet"
mob
verb
shoot()
missile(/obj/bullet, usr, loc)
any ideas? thanks.