Monster Throwing
Posted: Mon Apr 14, 2008 7:42 pm
Hi again,
I have an event that a monster will throw a dagger, for example.
Here is a snipped of my dummy code, the bit that isn't working. As you can see I have hard coded the direction and tile position for test purposes.
Thanks!
I have an event that a monster will throw a dagger, for example.
Here is a snipped of my dummy code, the bit that isn't working. As you can see I have hard coded the direction and tile position for test purposes.
Code: Select all
local throw_power = 38
local damage = 30
local delta = 8
dsb_shoot(id, level, x, y, NORTH, NORTHEAST, throw_power, damage, delta)
dsb_set_openshot(id)
local_sound(mon_id, snd.swish)