ID:175874
 
It's me, Muska. I am having trouble with my missile. I would like for an icon to appear above the users head for about 5 seconds, then fire the missile. I have the missile etc. down fine, it's just the icon above their head. If you can help, please do.

Thank You
Muska wrote:
It's me, Muska. I am having trouble with my missile. I would like for an icon to appear above the users head for about 5 seconds, then fire the missile. I have the missile etc. down fine, it's just the icon above their head. If you can help, please do.

Depending on how you want to do this, you can use an overlay or an obj. Probably the easiest way is an overlay.
mob
proc/FireMissile()
overlays += /obj/overhead
sleep(50)
overlays -= /obj/overhead
// actually fire here
...

obj/overhead
icon='thing.dmi'
layer=FLOAT_LAYER
pixel_y=32

Lummox JR