hello !
i have a monster
CONDITIONS
monster see player
shoot = 0 (instance variable)
>
ACTIONS
set shoot=1
monster change color
wait
monster flash
wait
monster spawn bullet (3 bullet)
set speed for bullet
set direction for bullet (3 differents directions)
set shoot=0
it work perfectly, BUT when my monster is killed during the flash, and there are others monsters and bullet flying, it somehow select bullets flying and adjust their course.
i would assume the selected monster being dead, it would spawn no bullet, then no bullet should be in the selected object list ??
how should i change my code to avoid this bug ?
is this a bad use of wait action ?
thanks