Hello everyone. I been working on an On-Field encounter setup that can use a variable to determine the encounter (And keep it between running away and encountering it again.)
Example: Red Slime (Variable 1 Value 1) Red Slimex2 (Variable 1 Value 2) Red Slimex3 (Variable 1 Value 3)
Player encounters 2 Red Slimes but wants to run. Later on, assuming they never left the dungeon, encounters it again, it would still be the same encounter as the 1st.
Well I got it working that way but, adding many encounters across multiple maps, would be extremely confusing and time consuming.
Is there a way to set a variable to randomize between 3~4 randomized encounters with certain 'weights', and persists until map resets?
Script Idealy would end up looking like:
RandEncounter(Var, TroopID1, %Chance, TroopID2, %Chance, TroopID3, %Chance, TroopID4, %Chance)
Var would keep the value chosen until map changes.
Unsure how else to phrase it.
Example: Red Slime (Variable 1 Value 1) Red Slimex2 (Variable 1 Value 2) Red Slimex3 (Variable 1 Value 3)
Player encounters 2 Red Slimes but wants to run. Later on, assuming they never left the dungeon, encounters it again, it would still be the same encounter as the 1st.
Well I got it working that way but, adding many encounters across multiple maps, would be extremely confusing and time consuming.
Is there a way to set a variable to randomize between 3~4 randomized encounters with certain 'weights', and persists until map resets?
Script Idealy would end up looking like:
RandEncounter(Var, TroopID1, %Chance, TroopID2, %Chance, TroopID3, %Chance, TroopID4, %Chance)
Var would keep the value chosen until map changes.
Unsure how else to phrase it.