- Joined
- Jul 17, 2015
- Messages
- 40
- Reaction score
- 18
- First Language
- Portuguese
- Primarily Uses
Hello
I'm trying to make the player fight several battles in sequence, through Scripts. I am calling them as described here: http://forums.rpgmakerweb.com/index.php?/topic/25759-script-call-collection-for-vxace/#entry247437
Like so:
However, whenever I run that, all that happens is the battle scenes flash in the screen. If I remove the "Fiber.yield", I just enf up fighting the same battle several times.
Can anyone shine a light on this?
Thanks a lot
I'm trying to make the player fight several battles in sequence, through Scripts. I am calling them as described here: http://forums.rpgmakerweb.com/index.php?/topic/25759-script-call-collection-for-vxace/#entry247437
Like so:
battleList.each do |troop_id|
BattleManager.setup(troop_id, e, l)
BattleManager.event_proc = Proc.new {|n| @branch[@indent] = n unless @branch.nil?}
$game_player.make_encounter_count
SceneManager.call(Scene_Battle)
Fiber.yield
BattleManager.setup(troop_id, e, l)
BattleManager.event_proc = Proc.new {|n| @branch[@indent] = n unless @branch.nil?}
$game_player.make_encounter_count
SceneManager.call(Scene_Battle)
Fiber.yield
Can anyone shine a light on this?
Thanks a lot
