Hello!
So this issue on MV has me completely stumped! I'm making a game that is based on dice movement; so, I've got the dice working, it's simply a variable rolling a random value of 1-6 on call HOWEVER I'm struggling to get the system to acknowledge steps being taken. Once the dice has been rolled, I tell the system to call the common event; "Step Counter"
Inside Step Counter, each roll of the dice I want to be equal to ten steps -- so if you roll a 1, the players gets 10 steps, 2, the players gets 20 steps etc etc. I've tried making a conditional branch for each individual result, setting the step variable to 10, 20, 30, 40, 50 and 60 followed by the conditional branch:
$gamePlayer.isMoving()
If not, I jump to a label set before the check so it checks again and again and again. If the player is moving, then I tell the system to -1 from the step variable with a conditional branch following checking if it has hit 0 and if so, to end the turn and recall the dice roll event; if not I tell it to go back to a label right before the script call...But for some reason RPG MV just isn't acknowledging the movement. If I set it as a loop, the game just crashes or grinds down to a halt.
The dice and the step counter are both individual common events.
Am I doing something completely stupid? Any help would be appreciated!
So this issue on MV has me completely stumped! I'm making a game that is based on dice movement; so, I've got the dice working, it's simply a variable rolling a random value of 1-6 on call HOWEVER I'm struggling to get the system to acknowledge steps being taken. Once the dice has been rolled, I tell the system to call the common event; "Step Counter"
Inside Step Counter, each roll of the dice I want to be equal to ten steps -- so if you roll a 1, the players gets 10 steps, 2, the players gets 20 steps etc etc. I've tried making a conditional branch for each individual result, setting the step variable to 10, 20, 30, 40, 50 and 60 followed by the conditional branch:
$gamePlayer.isMoving()
If not, I jump to a label set before the check so it checks again and again and again. If the player is moving, then I tell the system to -1 from the step variable with a conditional branch following checking if it has hit 0 and if so, to end the turn and recall the dice roll event; if not I tell it to go back to a label right before the script call...But for some reason RPG MV just isn't acknowledging the movement. If I set it as a loop, the game just crashes or grinds down to a halt.
The dice and the step counter are both individual common events.
Am I doing something completely stupid? Any help would be appreciated!
