Oui quelques scripts , mais aucun script pour modifier la scène equip
ha ben ! tu m'as fais penser a enlevé mes scripts de menu un par un , voir si ça
pourrait être le problème , et je l'ai trouvé !
Voici c'est la scène en question que j'ai crée moi même le problème .
Peux tu m'éclairer un peu et me dire où était le problème ?
Parce que pourtant ça pas l'air a toucher a rien .
Merci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
| class Window_ItemList < Window_Selectable
def initialize(x, y, width, height)
super
@category = :none
@data = []
refresh
self.oy = 0
end
def include?(item)
return true if item
end
end
class Scene_Item < Scene_ItemBase
def start
super
create_help_window
create_item_window
end
def create_item_window
wy = @help_window.y + @help_window.height
wh = Graphics.height - wy
@item_window = Window_ItemList.new(0, wy, 410, wh)
@item_window.viewport = @viewport
@item_window.help_window = @help_window
@item_window.x = 211
@item_window.y = 46
@item_window.height = 300
@item_window.width = 404
@help_window.x = 211
@help_window.y = 0
@help_window.height = 50
@help_window.width = 404
@item_window.set_handler(:ok, method(:on_item_ok))
@item_window.set_handler(:cancel, method(:on_item_cancel))
@item_window.select_last
@item_window.activate
end
def on_item_cancel
return_scene
end
end
|
La raison pourquoi j'ai fait ce script , c'est pour enlever les catégories d'items .
Mais sa me crée un problème plus que d'autre chose.<
|