Im trying to make a skill that takes a certain stat (Agility in this case) and stores it in a variable to use in a common event connected to the skill, But have no clue what Script code i need to do that. Any help?
MV How to put a stat of an actor who uses a certain skill into a variable via a common event?
RPG Maker MV Supportyou dont need script for that. use a control variables command, select game data, and there'll be an option to choose an actor's parameters
I forgot to this part in the question, but i wanted it to store the stat of the actor currently using that skill in battle. The skill is meant for multiple actors to have. I'd probably have to make multiple versions of that one skill for each actor in the game if i tried using the actors option on the Game data variable command.
that would work, but if you want to avoid that then you could try and use this in the script portion of the control variables command
Code:
BattleManager._subject.agi
Original thread: https://forums.rpgmakerweb.com/threads/how-to-put-a-stat-of-an-actor-who-uses-a-certain-skill-into-a-variable-via-a-common-event.183639/