Is it possible to make it so if I put a notetag in a map, that can be checked in a parallel common event? (Or are there any plugins for that)

It would be something like

If (map has this notetag){
tint screen like this
}else{
tint screen like that
}

Im open to alternative ideas to, just want something neat and clean
Tags in noteboxes does absolutely nothing without a plugin made to read them. It sounds like you just need a paralell process on the map itself though.
Tags in noteboxes does absolutely nothing without a plugin made to read them. It sounds like you just need a paralell process on the map itself though.
That would mean I need the event on every map though so I'm trying to avoid doing that
Tags in noteboxes does absolutely nothing without a plugin made to read them.
That's not quite right. You can access notetags at any time via script calls - it only requires a plugin if you have different options in the notetag and you need to parse and interpret the text and numbers.

It would be something like

If (map has this notetag){
tint screen like this
}else{
tint screen like that
}
You can access notetags for the current map via $dataMap.meta.notetagName

So you might put <dark> in the map notes, then you could do in an event
Code:
Conditional Branch -> Script -> $dataMap.meta.dark

and that will evaluate as true for that map.
No need for a plugin. Only the script option of the conditional branch event command. The data of the currently loaded map is stored in the $dataMap object.
The statement $dataMap.meta.myNotetag will be true if you have put the notetag <myNotetag> into that maps notebox, false otherwise.

Edit: Ninja'd by @ATT_Turan
Edit 2: But ninja'ing @coyotecraft 😉
Yes. You can have a common event with a conditional branch that uses this script as a condition
$dataMap.meta.yourTagName
...Ah, ATT_Turan beat me to it.

But to elaborate, it the conditional branch would evaluate true or false, that the tag exists.
*tint screen this* else *tint screen that way*
_114044507_mediaitem114044506.jpg
In the event itself you can make a variable checking on which map you are, use that variable in a conditional branch to do what you want to do.
That suggestion works. The trick is that if the OP has few options (e.g. dark/light/underwater), using a notetag will work using three Conditional Branches.

If you eschew the notetag and go directly off of the map ID, then your event has to have as many Conditional Branches as you have maps with tinting in your game (or you're using a script call to utilize JavaScript OR, in which case it's simply more keystrokes than using a notetag).
That's not quite right. You can access notetags at any time via script calls - it only requires a plugin if you have different options in the notetag and you need to parse and interpret the text and numbers.


You can access notetags for the current map via $dataMap.meta.notetagName

I forgot all about that. Thanks!
That's not quite right. You can access notetags at any time via script calls - it only requires a plugin if you have different options in the notetag and you need to parse and interpret the text and numbers.


You can access notetags for the current map via $dataMap.meta.notetagName

So you might put <dark> in the map notes, then you could do in an event
Code:
Conditional Branch -> Script -> $dataMap.meta.dark

and that will evaluate as true for that map.
tysm, this is exactly what i was lookin for

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-make-it-so-if-i-put-a-notetag-in-a-map-that-can-be-checked-in-a-parallel-common-event-or-are-there-any-plugins-for-that.150468/