Quest_log problem
Aktualny czas: 26-05-26, 05:12 Witaj! Przejdź do zakładki Logowanie lub Rejestracja


Wątek zamknięty 
[XP] Quest_log problem
Ayene Offline
*


Liczba postów: 758
Dołączył: 09-04-13

Pomógł: 112



Post: #10
RE: Quest_log problem

Doklej do skryptu:
class Scene_QuestNew
  def main
    quest = $game_party.quests.clone.pop
    @quest_name_window = Window_QuestName.new(quest)
    @quest_difficulty_window = Window_QuestDifficulty.new(quest)
    @quest_description_window = Window_QuestDescription.new(quest)
    if $MAP_AS_BACKGROUND
      @spriteset = Spriteset_Map.new
    end
    Graphics.transition
    loop do
      Graphics.update
      Input.update
      update
      if $scene != self
        break
      end
    end
    Graphics.freeze
    @quest_name_window.dispose
    @quest_difficulty_window.dispose
    @quest_description_window.dispose
    if $MAP_AS_BACKGROUND
      @spriteset.dispose
    end
  end
  
  def update
    if Input.trigger?(Input::B) or Input.trigger?(Input::C)
      if $MAP_AS_BACKGROUND
        $game_system.se_play($data_system.cancel_se)
        $scene = Scene_Map.new
        return
      else
        $game_system.se_play($data_system.cancel_se)
        $scene = Scene_Menu.new(0)
      end
    end
  end
end
Po dodaniu misji wywołaj komendą "Scripts":
$scene = Scene_QuestNew.new
Skrypt wyświetla ostatnio dodaną misję.

[Obrazek: aye_furniture_pres.png]
15-09-13 19:08
Znajdź wszystkie posty użytkownika
"Pomógł" przyznał(a):
Wątek zamknięty 


Wiadomości w tym wątku
Quest_log problem - Xovr - 15-09-13, 13:05
RE: Quest_log problem - M4t3us2 - 15-09-13, 14:23
RE: Quest_log problem - Xovr - 15-09-13, 14:33
RE: Quest_log problem - M4t3us2 - 15-09-13, 14:41
RE: Quest_log problem - Xovr - 15-09-13, 14:51
RE: Quest_log problem - M4t3us2 - 15-09-13, 15:10
RE: Quest_log problem - Xovr - 15-09-13, 15:20
RE: Quest_log problem - M4t3us2 - 15-09-13, 15:58
RE: Quest_log problem - Xovr - 15-09-13, 16:04
RE: Quest_log problem - Ayene - 15-09-13 19:08
RE: Quest_log problem - Xovr - 15-09-13, 20:23

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości

Kontakt | Ultima Forum | Wróć do góry | Wróć do forów | Wersja bez grafiki | RSS
Powered By MyBB. © 2013 MyBB Group. All Rights Reserved.
Skórka by Ayene.