TheRealDeal
Member
Hi everyone! I'm a long-time-reader-first-time-poster (LTRFTP), and I have 2 questions about a short game I'm attempting to make.
The first pertains to button input. Specifically, I would like to call a choice when the player pushes the "P" key (for example, once the key is pushed, I'd like to prompt the player with the choice "Are you sure? Yes/No". So my questions is, how to I associate such a prompt in an event with that specific key press?
My second question involves Claimh's Chrono Trigger Battle System script. I think it's great, though I can't seem to figure one thing out. In my game, there will only ever be one party member at a time. When a battle is engaged, a script call must be made to one of either a few preset battle formations or ones that are custom. However, I'd like both the player sprite and the enemy sprite to just stay in their same place, and not be placed by that module. I have no idea how to do this. I've pasted the code for that part of the script:
module Battle_Formation
#------------------------------------------------------------------------------
# [Formations]
# Have more formations and change through them via a script call.
# $game_system.battle_formation = Formation ID
FORM = {
# Set formations here.
# Formation ID => [[actor 1 x,y], [actor 2 x,y], [actor 3 x,y], [actor 4 x,y]]
# A word of warning: though there are 4 actor slots, don't use 4 party members.
# It won't crash but won't show the 4th member.
0 => [[100,100], [500, 280], [560, 220], [600, 300]],
1 => [[480,240], [540, 200], [560, 300], [600, 250]],
2 => [[480,250], [580, 215], [590, 260], [600, 305]],
3 => [[535,240], [540, 300], [595, 245], [600, 305]],
4 => [[510,220], [550, 315], [570, 230], [600, 295]],
5 => [[330,370], [160, 330], [480, 330], [600, 300]]
}
Any and all help would be greatly appreciated. Please let me know if I can provide any additional information that would help things along.
Thank you! :biggrin:
The first pertains to button input. Specifically, I would like to call a choice when the player pushes the "P" key (for example, once the key is pushed, I'd like to prompt the player with the choice "Are you sure? Yes/No". So my questions is, how to I associate such a prompt in an event with that specific key press?
My second question involves Claimh's Chrono Trigger Battle System script. I think it's great, though I can't seem to figure one thing out. In my game, there will only ever be one party member at a time. When a battle is engaged, a script call must be made to one of either a few preset battle formations or ones that are custom. However, I'd like both the player sprite and the enemy sprite to just stay in their same place, and not be placed by that module. I have no idea how to do this. I've pasted the code for that part of the script:
module Battle_Formation
#------------------------------------------------------------------------------
# [Formations]
# Have more formations and change through them via a script call.
# $game_system.battle_formation = Formation ID
FORM = {
# Set formations here.
# Formation ID => [[actor 1 x,y], [actor 2 x,y], [actor 3 x,y], [actor 4 x,y]]
# A word of warning: though there are 4 actor slots, don't use 4 party members.
# It won't crash but won't show the 4th member.
0 => [[100,100], [500, 280], [560, 220], [600, 300]],
1 => [[480,240], [540, 200], [560, 300], [600, 250]],
2 => [[480,250], [580, 215], [590, 260], [600, 305]],
3 => [[535,240], [540, 300], [595, 245], [600, 305]],
4 => [[510,220], [550, 315], [570, 230], [600, 295]],
5 => [[330,370], [160, 330], [480, 330], [600, 300]]
}
Any and all help would be greatly appreciated. Please let me know if I can provide any additional information that would help things along.
Thank you! :biggrin: