Krull

Warper
Member
Joined
Aug 13, 2022
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMZ
Hello

I'm new to RPGMaker MZ. I've run into an issue that I can't find an answer to.

I'm wanting to use the AP System to track secondary XP systems. For my project, I would like to be able to manually set AP via script calls, save AP to variables, and manually set AP's from a variable.

I can use the script command $gameActors.actor(x).gainAP(n); to manually set AP
Also I can set a variable by using the $gameActors.actor(x).currentAP(); command
However
I can't figure out how to load a variable back into the plugin.
I intuitively tried to do this by using $gameActors.actor(x).gainAP(\V[15]); However, all I got was a syntax error.

If you could provide me with this assistance, I would appreciate it very much!
 

Latest Threads

Latest Posts

Latest Profile Posts

Update: Coworker sabotaged the truck's mirrors by applying a threadlocking compound to the bolts used to adjust the mirrors. Now NO ONE can adjust them. So I filed a legit report of sabotage of equipment to leadership and declared that I cannot safely operate the vehicle if I can't see what needs to be seen. So the truck has to go to the shop for repair, and we need a substitute vehicle. Nice work, dude :p
1701524304115.png
Part of growing up is finding out that love hurts.
"I signed up for this heartbreak."
Oh man. Updating my PC backup because I'd like to start 2024 with a reformat. At some point in time I turned into a "folders in my folders" type of girl. :kaoslp:
Lesson of the day: Trying to arrive in time is sometimes more difficult than any boss fight.
Day #2: Today we have some teddybears... and a brave dad to fend them off!1701517253009.png

Forum statistics

Threads
136,684
Messages
1,268,720
Members
180,390
Latest member
juneiper
Top