EDIT: SOLVED.
http://www.hiveworkshop.com/forums/...dom-encounter-system-help-182071/#post1748580 For solution.
http://www.hiveworkshop.com/forums/...dom-encounter-system-help-182071/#post1748590 For a quick hint for anyone else who may wish to utilize something like this.
Hello.
So, one more issue for me. Yes. Another. Again.
THIS IS FOR A SINGLE-PLAYER CAMPAIGN. DON'T WORRY ABOUT PLAYERS OTHER THAN PLAYER 1 (RED). IT DOES NOTHING FOR ME IF IT IS USABLE BY ANOTHER PLAYER.
Anyway, so, now that I've got the battle system for my map fixed, I tried to test it out with my random encounter system. Problem is, it didn't work.
I use the Arrow Keys for movement. So, I thought maybe the "Player Pressed the Up/Down Arrow Key" Events would work, but it turns out that didn't do as I had planned.
What I'm trying to get out of this is a system where, when you're moving (With the arrow keys, ofc.), it has a random chance of turning on a trigger. The first value I'd like to test is 30%.
The only way I could think of gaining this result is when moving (Outside of battle, ofc.) to turn on a periodic event. But I'm not sure how to do this (I tried a couple times, couldn't get it to work).
In simple terms, here's what I'm trying to achieve:
If you need further information, please ask. Of course, I abide by my signature!
http://www.hiveworkshop.com/forums/...dom-encounter-system-help-182071/#post1748580 For solution.
http://www.hiveworkshop.com/forums/...dom-encounter-system-help-182071/#post1748590 For a quick hint for anyone else who may wish to utilize something like this.
Hello.
So, one more issue for me. Yes. Another. Again.
THIS IS FOR A SINGLE-PLAYER CAMPAIGN. DON'T WORRY ABOUT PLAYERS OTHER THAN PLAYER 1 (RED). IT DOES NOTHING FOR ME IF IT IS USABLE BY ANOTHER PLAYER.
Anyway, so, now that I've got the battle system for my map fixed, I tried to test it out with my random encounter system. Problem is, it didn't work.
I use the Arrow Keys for movement. So, I thought maybe the "Player Pressed the Up/Down Arrow Key
What I'm trying to get out of this is a system where, when you're moving (With the arrow keys, ofc.), it has a random chance of turning on a trigger. The first value I'd like to test is 30%.
The only way I could think of gaining this result is when moving (Outside of battle, ofc.) to turn on a periodic event. But I'm not sure how to do this (I tried a couple times, couldn't get it to work).
In simple terms, here's what I'm trying to achieve:
- While the player is holding the Up or Down button (They are moving the unit) it will roll every (0.5 sec) 1-100 and check the result >=30 and if it is, it'll turn on the "Battle" trigger.
- If the player releases the Up/Down arrow key (and they're NOT moving, in other words, neither is being pressed), it turns off the periodic event trigger.
If you need further information, please ask. Of course, I abide by my signature!
Last edited: