Alter counterTotal via script call (Yanfly's Counter Control)

romepizza

Veteran
Veteran
Joined
Nov 9, 2015
Messages
45
Reaction score
1
First Language
German
Hey peeps,


so I was trying to alter the total counter of an actor via a scriptcall. Sadly the total counter number is not stored in the battler, or at least I don't find it, so I cant just go with "actor.counterTotal = 3" or something like that. There is a function "actor.counterTotal()" which returns the total number of counters a battler has per turn, but I haven't found a function to set, add or alter it in any way.


I have tried functions like "actor.setCounterTotal(3)" and so on, but I didn't seem to guess the right function.


I have also looked through the proto functions, but no success. I have also looked through the .json data to find any hints but no success either.


So if anyone of you knows "the" function or a way to alter the total number of counters per turn, please let me know :)


Romepizza


edit: I'm asking because Yanfly tends to provide her plugins with functions like that to give us developers maximum control over our game. I would be surprised if she didn't do so here.
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top