• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

SOLVED : Path in certain room

S

Shizuky

Guest
Hi , I wanted to make a objPlayer in one room to be doing a path, as in a cutscene but when I add : path_start(path11, 1 ,path_action_stop, true) , the path is in every room. Is there a way it can be done in a certain room and destroyed after it is performed?
 
You need to check if the room you are in is the cut scene room, and only then call the path_start() function.

ObjPlayer Create Event
Code:
if ( room == rm_cutscene )
{
    path_start(path11, 1 ,path_action_stop, true)
}
 
Top