pixeltroid
Member
Scenario 1:
I've made a barrier object in room A which blocks the players path. The barrier can only be destroyed if a boss is killed in room B. Once the boss is killed, the player has to backtrack to room A, and pass through.
Scenario 2:
The barrier and the boss are in the same room. And again I need to kill the boss in order to remove the barrier.
I want to incorporate both scenarios in my project. I'm guessing the code to perform these actions goes into the bosses step events?
What should I do?
The objects I am working with are : obj_player, obj_boss, obj_barrier.
Room names : room1, room2
I've made a barrier object in room A which blocks the players path. The barrier can only be destroyed if a boss is killed in room B. Once the boss is killed, the player has to backtrack to room A, and pass through.
Scenario 2:
The barrier and the boss are in the same room. And again I need to kill the boss in order to remove the barrier.
I want to incorporate both scenarios in my project. I'm guessing the code to perform these actions goes into the bosses step events?
What should I do?
The objects I am working with are : obj_player, obj_boss, obj_barrier.
Room names : room1, room2
Last edited: