I'm made a script in the step event of the boss where my boss fires a bomb from right under the ship. But it does'nt work the bomb fires in different places of the room. And I want the bomb to create from under the ship. Here is 2 samples of the code: And also i'm using Game Maker 6
if ( can_bomb = 1) { instance_create(obj_eggman.35,obj_eggman.50,obj_bomb); sound_play(bombdrop) alarm[0] = 10; can_bomb = 0; }[/CODE] [CODE]if ( can_bomb = 1) { instance_create(view_xview + 35,view_yview + 50,obj_bomb); sound_play(bombdrop) alarm[0] = 10; can_bomb = 0; }[/CODE] But it just fires in other places of the room can anyone help me with this?