- Joined
- Jul 10, 2006
- Messages
- 11
Hello, first of all, I'd like to ask if anyone has any idea how to make a random battle system; like the ones in the "final fantasy" series.
I am currently working on an RPG and would like to implement such a system. What I would like is for a player to walk around, and randomly, while they are walking (so not just when ordered to move, or when they stopped moving) become attacked, and moved to a pre-determined area for battles.
my version so far has a region which locks onto the player and when they move out of the region, it re-centers itself onto the player, and picks a random number (the percent chance). If certain conditions are met, the player is then moved and the battle begins. If not, then it just waits until the next time the player moves out of the region...
so far, this system has failed, because I dont know:
1 - if the region's even moving
2 - if the triggers are even working IF #1 is true
3 - how to use the "flee" command if the battle won't even start
4 - how to randomly generate monster spawns since the battle won't start
5 - where to go from here (since 1 through 4 won't work)
I need some help starting out with a template idea, or a pre-made system for use. I would like it to be area-sensative, meaning if you're in a forest, you'll fight monsters differet from those in a desert (which is commen sense). Any and all help on this matter will be greatly appreciated. Otherwise, I'll have to re-plan and re-map certain areas of my map, and that's just more of a hassle than it's worth...
P.S. - I don't know if I'm in the wrong forum, but I posted this here because it IS a system and I thought it should go here (i also could not find ANY other threads like this one with the search). And if it helps, I'm not a big JASS person, so if you help with JASS, please explain each part so I know what to change if needed...
~ Thanks Again! ~
I am currently working on an RPG and would like to implement such a system. What I would like is for a player to walk around, and randomly, while they are walking (so not just when ordered to move, or when they stopped moving) become attacked, and moved to a pre-determined area for battles.
my version so far has a region which locks onto the player and when they move out of the region, it re-centers itself onto the player, and picks a random number (the percent chance). If certain conditions are met, the player is then moved and the battle begins. If not, then it just waits until the next time the player moves out of the region...
so far, this system has failed, because I dont know:
1 - if the region's even moving
2 - if the triggers are even working IF #1 is true
3 - how to use the "flee" command if the battle won't even start
4 - how to randomly generate monster spawns since the battle won't start
5 - where to go from here (since 1 through 4 won't work)
I need some help starting out with a template idea, or a pre-made system for use. I would like it to be area-sensative, meaning if you're in a forest, you'll fight monsters differet from those in a desert (which is commen sense). Any and all help on this matter will be greatly appreciated. Otherwise, I'll have to re-plan and re-map certain areas of my map, and that's just more of a hassle than it's worth...
P.S. - I don't know if I'm in the wrong forum, but I posted this here because it IS a system and I thought it should go here (i also could not find ANY other threads like this one with the search). And if it helps, I'm not a big JASS person, so if you help with JASS, please explain each part so I know what to change if needed...
~ Thanks Again! ~