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