jbrist's Info. Card Script (http://www.rmxp.org/forums/viewtopic.php?f=156&t=18971&p=190206&hilit=Info.+Cards)
I need an edit of this so the player has to press 'C' before the card disappears. Normally it disappears after a few seconds which sucks :(
I also wanted to know how I woud transfer the player using a script. I'm adding an option to the title screen, a battle arena. I want the player to be transfered to a map after selecting the option, how do it?
ty in advance
just use this for it
change the $data_system.start_map_id to the map id u want to go to change the $data_system.start_x, $data_system.start_y to the x & y u want to go to
def Battle_Arena
$game_system.se_play($data_system.decision_se)
Audio.bgm_stop
Graphics.frame_count = 0
$game_temp = Game_Temp.new
$game_system = Game_System.new
$game_switches = Game_Switches.new
$game_variables = Game_Variables.new
$game_self_switches = Game_SelfSwitches.new
$game_screen = Game_Screen.new
$game_actors = Game_Actors.new
$game_party = Game_Party.new
$game_troop = Game_Troop.new
$game_map = Game_Map.new
$game_player = Game_Player.new
$game_party.setup_starting_members
$game_map.setup($data_system.start_map_id)
$game_player.moveto($data_system.start_x, $data_system.start_y)
$game_player.refresh
$game_map.autoplay
$game_map.update
$scene = Scene_Map.new
end
Awesome! :D ty matt
Can anyone help with the script edit?
ok i made it work the way u want but u will have to change the way u call the script
u call it like this $info = what_u_would_normally_call then on the next line call $scene = Scene_info_cards.new
put this right above his script
lol btw the battle_arena was just new_game
& this code is a striped version of the menu script
class Scene_info_cards
def main
@cards_window = $info
loop do
# Update game screen
Graphics.update
# Update input information
Input.update
# Frame update
update
# Abort loop if screen is changed
if $scene != self
break
end
end
Graphics.freeze
@cards_window.dispose
end
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
# Update windows
@cards_window.update
if Input.trigger?(Input::C)
# Play cancel SE
$game_system.se_play($data_system.cancel_se)
# Switch to map screen
$scene = Scene_Map.new
return
end
end
end
since im calling a new new scene if u want to call more than 1 card or have another window with something else let me know
You're awesome matt *powers up*
ty :)
if u dont need anything else add (resolved) to your topic