Actor begins the battle with a state?

Status
Not open for further replies.

thecursedcometh

Veteran
Veteran
Joined
Dec 4, 2018
Messages
35
Reaction score
17
First Language
English
Primarily Uses
RMMV
As the title says. Looking for a plugin that will cause an actor to gain a state as soon as any battle starts. It'll be removed after battle, but I need them to regain the state as soon as a battle starts.

Very important: This effect cannot start from the beginning of the game. It needs to be enabled by an event partway through the game.

If someone could point me in the right direction, that'd be a great help!
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,695
Reaction score
1,113
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi!
If you are triggering your battle trough events, I think you can add the state to an actor through events too:
1594692655951.png
Or maybe inside the troop?
1594692783299.png
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Can't you just add the state when you run the event?
 

Doktor_Q

I'm not a real doktor, but I am a real Q
Veteran
Joined
Aug 1, 2016
Messages
873
Reaction score
562
First Language
English
Primarily Uses
RMMV
@Eliaquim The first solution won't work, as the "battle processing" command in the event encompasses the entire battle- the following line won't run until the battle ends. I think just reversing the order of the two lines could work, though.

Alternatively, for the second approach, if you set the event to run on turn 0, once per battle, it can give someone a state before the first time the player gets control, even if ambushes are involved.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top