Hey, again guys. I need a system that will allow it so that I will engage in a random battle (Like in old RPGs FF 7 and the like) every time I move, which for me is with the arrow keys in this map. I'm not sure if
Here's what I am looking for. I am just not quite sure how to go about doing this, not exactly, but kind of like this with a 30% chance of encountering fights:
Action
A random "Roll" of 1-100
If
The number rolled is <=30 == True
Then
Set the stuff I need to for my battle system
Trigger - Run BattleOn bla bla...
Else
Reroll.
Any help is greatly appreciated, as I can't help but feel this is a simple brain fart on my part, since I feel I should be able to recreate this simple thing, since I just can't seem to find a way to "roll" the results.
EDIT: This is the result:
-
Battle Encounter System
-
Events
- Player - Player 1 (Red) Presses the Up Arrow key
- Player - Player 1 (Red) Presses the Down Arrow key
-
Events
Here's what I am looking for. I am just not quite sure how to go about doing this, not exactly, but kind of like this with a 30% chance of encountering fights:
Action
A random "Roll" of 1-100
If
The number rolled is <=30 == True
Then
Set the stuff I need to for my battle system
Trigger - Run BattleOn bla bla...
Else
Reroll.
Any help is greatly appreciated, as I can't help but feel this is a simple brain fart on my part, since I feel I should be able to recreate this simple thing, since I just can't seem to find a way to "roll" the results.
EDIT: This is the result:
-
Battle
-
Events
- Player - Player 1 (Red) Presses the Up Arrow key
- Player - Player 1 (Red) Presses the Down Arrow key
- Conditions
-
Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 100) Less than or equal to (<=) 30
-
Then - Actions
- Trigger - Turn off (This trigger)
- Set RBB_AreaSelect = 1
- Set RBB_MobNumbers[1] = 1
- -------- Set 50 variables, etc., etc... --------
- Trigger - Run BattleOn <gen> (checking conditions)
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Last edited: