Add and Check Notetags!

Urashima09

Villager
Member
Joined
Apr 27, 2017
Messages
26
Reaction score
5
First Language
Portuguese
Primarily Uses
RMXP
Greetings!
I'm needing help to create a plugin that would make my life a lot easier! He looks very simple.
I'd like to put in the following Notetag in Actors and Enemies:

<Team: Ninjas>
<Team: Witches>
<Team: Fighters>

Then, when the battle starts, the plugin checks if, on any side of the battle (Actors or Enemies) there are at least four characters with the same Notetag. If not, it does nothing; If so, it adds a state to all that side of the battle.
That is, if there are 4 Ninjas on the side of the enemies and 4 Fighters on the side of the actors, then the entire enemies team receives the State "Ninjas" and the entire actors team receive the state "Fighters".
My game is based on choosing which actors to take to face which enemies. It is important to note that you have several notebooks (multiple teams possible), but since only 4 actors and 4 enemies participate at a time in battle, then it is not an active time bonus at a time.
Thank you in advance!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,667
First Language
German
Primarily Uses
RMMV
Basically that is a number of counting loops.

you use the meta function to get the team-value from one actor or enemy and store that count in prepared variables. if the count on any variable gets to 4, you do what you want.

It isn't even neccessary to use a plugin for that - you could make it a troop event using the script command with the meta function (see helpfile for meta)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,847
Messages
1,016,972
Members
137,561
Latest member
JaCrispy85
Top