Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i'm using mz right now and used the plugin command, which command name sets the light to turn on?

Hi, you can use the Change Visibility plugin command to turn all lights on/off. If your light is not showing, double check that you added an event with the comment from the documentation to turn the event into a light.

how do i add an event with the comment?

Hi, from the map editor, double click on a tile to create an event. From there, in the Contents section of an event, double click to add an event command. On page 1 of the event command window, all the way at the bottom left will be an event command called "Comment..." - click on this. In the comment box that opens up, type "CGMZ LE your_light_id_here". For example, if you had a light with an id of "light2" it would look like this:

how do i check what my light id is?

Hi, when you made your light effect in the plugin parameters, the first parameter is called "id". That is the id of the light. It looks something like this:

ah alright now it works, thanks