Ciao a tutti! Vorrei richiamare un evento comune alla pressione di un tasto. Ho trovato questo script per RGSS2:
class Scene_Map < Scene_Base
# Common Event trigger key
CallCommonEventKey = Input::L
# Common Event ID to trigger
CallCommonEventID = 1
# Frame Update
alias sawnik_update :update
def update
sawnik_update
update_common_event_trigger
end
# Update Common Event Trigger Check
def update_common_event_trigger
if not $game_message.visible and Input.trigger?(CallCommonEventKey)
$game_temp.common_event_id = CallCommonEventID
end
end
end
qualcuno saprebbe tradurlo per RGSS3 ? Grazie! ^_^ Leo Jonesy