client
macro
space return "Shoot"
mob
verb
Shoot()
set hidden = 1
if(src.Shooting)
return
else
src.Shooting = 1
if(src.Shooting=="Missle")
var/Shot = new/obj/Shots/Missle(src.loc)
walk(Shot,NORTH,0)
sleep(src.Shoot_Delay)
src.Shooting = 0
obj
Shots
icon = 'Shots.dmi'
density = 1
Missle
icon_state = "Missle"
xo_width = 5
xo_height = 9
pixel_step_size = 6
xo_movement_state = "Missle"
xo_movement_delay = 6
xo_absx = 16
xo_absy = 16
ID:269371
![]() Jun 6 2005, 10:05 pm
|
|
I am currently playing around with this, and with my Space Invaders game, when I create a new object(the bullet) it doesnt make it..
|
Hmmm well do some debugging. Put in some debug messages that tell you the variables. Like your src.shooting variable.