Can you control event notetags?

@ATT_Turan Trust me, I tried.
I even tried creating an event and putting all 6 conditions on it.
Since none of them are active I can't see the event itself but the particle animation created through the notetag in that event is active and running.
Hence this post was made.
Then that's a bug in the plugin - you might ask for help getting it fixed.
Then that's a bug in the plugin - you might ask for help getting it fixed.
I dont know if it's a bug, the particle effects are actually properties of the $gameMap object, not the event objects. The event notetags are read on map entry to create a particle effect following that event. After creation the effects are controlled by pausing, resuming, or deleting the particle effect from the $gameMap
Oh. So you have a notetag and it runs even though the condition are not met? I know a solution for that, since I had this same problem:

Make an extra page in your event IN FRONT OF all the other pages. (So make it page one)
Simply leave the page empty. (No conditions, not content, no image)

And make sure you use COMMENT TAGS and not NOTE TAGS. Because note tags will run no matter what page you're on.
The event notetags are read on map entry to create a particle effect following that event.
To me, if it creates an effect to follow something that isn't displayed at all, that's a bug. Or, if you want to be more generous, a flaw in design 😉
To me, if it creates an effect to follow something that isn't displayed at all, that's a bug. Or, if you want to be more generous, a flaw in design 😉
Yeah, that is a bug. But there is a solution, hopefully (works with the yanfly plugins I can say from experience) and that is to put an empty page in front (ID 1) all other pages.

For some reason, if the first page has a tag, it will read the tag no matter what. I don't know if that is exactly how it works, but that is how it seems to me.

I had the same issue when I started making my card game, which also uses lots of event note- and comment tags, to make them clickable. Some empty slots were clickable as if there was a card, and that seems to be exact the same issue as what happens here.

So make page a completely empty and useless page to prevent this. It worked for me so it is worth the shot.
@JohnDoeNews Forgive me if this is a noob question but how can you make plugin note tags work with comment tags?
Because if you are talking about Comment under Flow control then just simply pasting the command in comment tag doesn't seem to work, is there a work around?
@JohnDoeNews Forgive me if this is a noob question but how can you make plugin note tags work with comment tags?
Because if you are talking about Comment under Flow control then just simply pasting the command in comment tag doesn't seem to work, is there a work around?
Usually, it's coded in by the plugin dev. But, incidentally there's a Japanese plugin for that, I'd have to dig it up.

Here it is: Combine the comments with the event memo field
@AquaEcho It sounds really nice but unfortunately you have to put the memo in the first line in the first page.
So, you can't use any condition flow or anything.
And if you put it in the first line in the first page, it works exactly like event note tags, meaning even if the event is not currently active, the effect will be
@AquaEcho It sounds really nice but unfortunately you have to put the memo in the first line in the first page.
So, you can't use any condition flow or anything.
And if you put it in the first line in the first page, it works exactly like event note tags, meaning even if the event is not currently active, the effect will be
I mean, the plugin itself is like 40 lines long. You could just edit it on line 16 to if($gameSwitches.value(50)){

Then at the very end close it with
}

so it will only run if Control Switch 50 is on.


@AquaEcho Not quite sure what you mean.

How do I immediately pause or delete that notetag?
I wasn't able to figure it out.

On the other hand, I can now use Pause and Resume, I guess that's something I can begin to work with for now.
You don't pause or delete the notetag. If you use the notetags it's going to create the particle effect on the event. You pause or delete the particle effect once it's started with the plugin commands or the script call for the functions that those plugin commands are triggering.
@AquaEcho That was precisely what I was searching for, how to use switches in scripts but when I did what you told me I get the error "Cannot read property 'value' of null"
I tried doing at different lines but the results are the same.
Am I doing something wrong?
@AquaEcho That was precisely what I was searching for, how to use switches in scripts but when I did what you told me I get the error "Cannot read property 'value' of null"
I tried doing at different lines but the results are the same.
Am I doing something wrong?
To be honest I think this is getting unnecessarily complicated adding another plugin, then editing that plugin when you can control the particle effects with plugin commands.
I can see your point but the thing is out of the 2 plugins I posted about only one of them can be created using the script commands.
The Expand Events Action plugin's event creation can only be handled by note tags (As far as I can tell) the only plugin commands in that plugin is stop and start.
Admittedly when I learned I can just add a line of code to get more control over when and how its creation works, I got a little excited.
But you are absolutely right, I CAN find a work around with what I have got now.

It may seem like I am just asking and asking making things more complicated but trust me since our little conversation back then, I am always trying to figure things out myself first and when I stumble, I come here.
My questions are not because of the lack of trying its because of the lack of knowledge.
I will try to do better next time.

You have all helped me out a lot and due to your help I have progressed a lot on something I thought was a dead end. Thanks a lot everyone. In the future, I will refrain from asking unless its absolutely necessary.
Admittedly when I learned I can just add a line of code to get more control over when and how its creation works, I got a little excited.
If you know Javascript it's entirely possible, the easiest spot would be in the particle effects plugin to add a conditional to check if the event is running or a switch is on before reading its notebox.

However if you are not skilled enough at Javascript to be able to locate that spot and edit it yourself, you're asking someone else to spend their time doing it for you, and that's a tough ask when this could also be accomplished through just using plugin commands on your end without anyone's help.
@AquaEcho Like I said in the my previous reply, I have managed to to understand how to use script calls for almost all the plugin commands in both plugins.
The problem is not with the particle plugin but the Expand Events Action plugin in which let's say I am using the rotation function, its creation does NOT have a plugin command. As far as I can tell, it can only be done by a event/map note tag. The only commands that plugin have are stop the rotation or start the rotation again.

I am well aware that my skill in javascript is painfully lacking but I am not asking people to waste their time on something that can be easily replicated, once I figured out how to use plugin commands I said so. The reason I kept asking about about note tags is because that's the only way I can access rotate function and (at the time) it seemed easy enough to implement for people knowledgeable like you.
@JohnDoeNews Mentioned several times that note tags can have conditions and then you also talked about adding just a line to the code works. I couldn't figure it out so I asked thinking its something simple that is beyond my scope of understanding.

Again. I will apologize if it feels like I am wasting everyone's time. I am just trying to work on something I love.
Expand Events Action plugin in which let's say I am using the rotation function, its creation does NOT have a plugin command.
You can do what I said earlier for the particle effects plugin for the event effects plugin too: dig in the code to find out what function is being applied to the event object when the notetag is read, then manually call it.

Or you can have two+ copies of the event with different notetags, then use an event morpher or spawner plugin to either swap the event or unspawn the first and spawn in the second in its place under different conditions.
I have managed to to understand how to use script calls for almost all the plugin commands in both plugins
Just to toss it out there, in case you need it, here is a plugin that will enable you to use MV plugin commands in MZ. It gives you a plugin command called "Old Plugin Command". Just run that and type your MV command in the text box.
Just to toss it out there, in case you need it, here is a plugin that will enable you to use MV plugin commands in MZ. It gives you a plugin command called "Old Plugin Command". Just run that and type your MV command in the text box.
I'm always down for alternatives, but isn't this built into FOSSIL?
@Arthran This is quite amazing. Basically makes MV plugins very easily compatible with MZ.
At least the 2 I am using right now. How come no one talks about this?
I can't thank you enough. It takes away a lot of headache for someone who doesn't understand JavaScript (Though I don't think I will try using more MV plugins in MZ in the future after all this hassle and headache xD)
Can I assume that it will still work if ported to android? Just asking.

@AquaEcho I have spent many hours trying to figure out EEA's rotate function. After a lot of trial and errors I don't think I am capable of using it as script calls with my current knowledge.
I will try "event morpher or spawner plugin" thanks.
I just remembered Yanfly's event morpher doesn't copy event notetags so that won't work. I don't know if VisuStella fixed that or not. Otherwise you might have to use Galv's free event spawner

Original thread: https://forums.rpgmakerweb.com/threads/can-you-control-event-notetags.163445/