Closed deonix37 closed 3 years ago
One of the advantages of the enemies table being an array is that the same monster script can be used multiple times in the same encounter to have multiple of one monster. This would cause only one of those monster scripts to be accessible by name, and require the other(s) to be accessed by numeric index as normal.
The monster table is a table, and the monster scripts can be saved to variables. If you want to have named access to monster scripts, go into EncounterStarting and put down something along the lines of enemies.poesur = enemies[1]
manually instead of clumsily slotting it into the engine.
god i cant wait to access the fourth poseur enemy in my battle
Like
enemies.poseur
orenemies['poseur']
, besidesenemies[1]
. I'm not sure where to document this