Thanks for all your help, I think I might know of a workaround. Do you know what I would need to add into the code to associate an actor’s id with a variable and make it use that? I searched, and I don’t know if there’s any official documentation on MV’s API (API might be the wrong word ¯\_(ツ)_/¯). I can see if I can do it myself, but I figured I’d ask someone more knowledgeable in JS.
Viewing post in Hakuen Studio Custom Parameters for RPG Maker MV MZ comments
I didn't quite understand what you mean by associating a variable with an actor ID, but you can take a look at the script call spreadsheet to see a lot of code with some explanation:
https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mv-mz-script-call-lis...