Hello, I've created a Space Shooter typed of game, Also I am a beginner, I don't know how to stop an event or "Create Object" Action, well I simply got a solution, the Image below is my solution.
imgur.com/HANv3rX
imgur.com/WZCsSzd
And here is the full code
imgur.com/knldQqv
imgur.com/Y1bU5dl
And I've added my player an Instance variable called "player_IsAlive" with the Initial value of 1
So the first image stated, if player_IsAlive = 1 then Every 1 Second Create an Object (Enemy) or else if player_IsAlive is equal to or less than 0 then (inverted code) Every 1 second do not Create an Object (Enemy) (As this is I red after the else if)
And the health event, there are some basic actions where set animation action and destroy action is, after the destroy action I then put the action to set the value of player_IsAlive to 0.
I don't know if this is the correct code as I red after the else if in the first image, If I am somehow wrong please respond.