I have hit a roadblock in my level of understanding of scripts and how to achieve a result. I'm quite sure I can do it somehow, but I keep messing things up.
So I am setting a variable to an enemy id # using $gameParty.members()[n].enemyId() in event processing. The next step is setting more variables to the skill ids in that enemy id's section in enemies.json
this is where I get lost. I see the data in the enemies.json file but i don't know how to call that data up and place them to variables. None of my enemies have more than 10 skills, and I have 10 variables in numerical order set aside to accept the data (that I can't figure out how to call up and assign)
I know I can do this with a plugin, and I'm about ready to, but I swear my vague rusty old recollection about how javascript should work should allow me to set all the variables to match all the skill ids in one kinda long script (thanks to MZ accepting much longer lines of code than MV)
Its should work something like 'set var = [n] // enemy.skill.[N].id' where n is the assigned variable, and N is the various skills in the enemies.json file. I'm having issues with finding the exact script calls in the google spreadsheet of script calls (probably cause I'm asking the wrong questions)
I envision my next stumbling block being an attempt to call SP and Ex parameters from the same enemies.json file. Again I see the data I need, but if I cannot extract skill ids, what chance do I have at that?
----
So under the hood, what I'm doing is an idea for a take on a monster tamer ability and monster party members- I have blank actors with base parameters of 1 and a baseline growth rate. I have a skill to talk them into the group which i am working out now. So
Step 1: Collect enemy parameters and add them to blank monster actor. (Done)
Step 2: Collect enemy id to collect skill ids and add them to blank monster actor
Step 3(If possible) Collect enemy SP and EX parameters and add them to blank monster actor
Step 4 Rename monster actor so the next blank in the line (with the name 'Empty') is filled in by the next recruitment rather than overwrite the existing blank.
IF I can get this working right, I'll probably add plugins for a dynamic actor creation that uses this setup (because it shouldn't need a plug in if I understand it right).
So I am setting a variable to an enemy id # using $gameParty.members()[n].enemyId() in event processing. The next step is setting more variables to the skill ids in that enemy id's section in enemies.json
this is where I get lost. I see the data in the enemies.json file but i don't know how to call that data up and place them to variables. None of my enemies have more than 10 skills, and I have 10 variables in numerical order set aside to accept the data (that I can't figure out how to call up and assign)
I know I can do this with a plugin, and I'm about ready to, but I swear my vague rusty old recollection about how javascript should work should allow me to set all the variables to match all the skill ids in one kinda long script (thanks to MZ accepting much longer lines of code than MV)
Its should work something like 'set var = [n] // enemy.skill.[N].id' where n is the assigned variable, and N is the various skills in the enemies.json file. I'm having issues with finding the exact script calls in the google spreadsheet of script calls (probably cause I'm asking the wrong questions)
I envision my next stumbling block being an attempt to call SP and Ex parameters from the same enemies.json file. Again I see the data I need, but if I cannot extract skill ids, what chance do I have at that?
----
So under the hood, what I'm doing is an idea for a take on a monster tamer ability and monster party members- I have blank actors with base parameters of 1 and a baseline growth rate. I have a skill to talk them into the group which i am working out now. So
Step 1: Collect enemy parameters and add them to blank monster actor. (Done)
Step 2: Collect enemy id to collect skill ids and add them to blank monster actor
Step 3(If possible) Collect enemy SP and EX parameters and add them to blank monster actor
Step 4 Rename monster actor so the next blank in the line (with the name 'Empty') is filled in by the next recruitment rather than overwrite the existing blank.
IF I can get this working right, I'll probably add plugins for a dynamic actor creation that uses this setup (because it shouldn't need a plug in if I understand it right).