room_restart


描述

This function will restart the current room, as if it had just been entered.


语法:

room_restart();


返回:

N/A(无返回值)


例如:

if lives < 1 room_restart();

The above code checks to see if the variable "lives" is less than 1 and if it is it will restart the room.


上一页: General Room Functions And Variables
下一页: room_add
© Copyright YoYo Games Ltd. 2018 All Rights Reserved