An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Dark Plasma Is In Lights - DarkPlasma_IsInLights.js

Plugin desc : Plugin command to determine whether you are in a light

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_IsInLights.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_IsInLights.js

File name : DarkPlasma_IsInLights.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Plugin command to determine whether you are in a light
@author DarkPlasma
@license MIT

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 2.0.0
This plugin provides a command to determine whether you are in a lighted area
on a dark map and apply the results to a switch.

This plugin requires the following plugin:
DarkPlasma_DarkMap version: 3.0.0

@command isInLights
@text Determine if you are in the light
@desc If you are in the light, turn on the specified switch.
@arg switchId
@text switch
@desc Specify the switch to turn ON when the target is in the light.
@type switch
@default 0

@arg target
@text subject
@desc Select the object to determine if it is in the light.
@type select
@default player
@option Player
@value player
@option This event
@value thisEvent
@option Other events
@value otherEvent

@arg eventId
@text Event ID
@desc If the target is another event, specify the event ID.
@type number
@default 0

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.