- 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.
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:
