Hi,
I've got a little problem I can't figure out. In the skills menu my overlay is the same for every acto, but I wan them to have seperate categories. Now the code I have is like this:
def self.user_category_text(index, contents, item_rect, enable, select)
result = []
contents.clear
if select
case index
when 0; result.push(["$bitmap[Menus, Skills_Physical]",[-13, 8], 255, [0, 0, "bw + 3", "bh + 13"]],) #bitmap = ""
when 1; result.push(["$bitmap[Menus, Skills_Magical]",[-13, 8], 255, [0, 0, "bw + 3", "bh + 13"]],)
when 2; result.push(["$bitmap[Menus, Skills_Special]",[-13, 8], 255, [0, 0, "bw + 3", "bh + 13"]],)
end
x = 0
y = 0
end
result
end
But I want Skills_Physical to have a different picture based on the actor. So e.g. Skills_[hysical1 for actor1. Skills_Physical2 for actor2. How can I do that?
I tried adding something like if actor = $game_actors[1] && if select but it doesn't work..
I've got a little problem I can't figure out. In the skills menu my overlay is the same for every acto, but I wan them to have seperate categories. Now the code I have is like this:
def self.user_category_text(index, contents, item_rect, enable, select)
result = []
contents.clear
if select
case index
when 0; result.push(["$bitmap[Menus, Skills_Physical]",[-13, 8], 255, [0, 0, "bw + 3", "bh + 13"]],) #bitmap = ""
when 1; result.push(["$bitmap[Menus, Skills_Magical]",[-13, 8], 255, [0, 0, "bw + 3", "bh + 13"]],)
when 2; result.push(["$bitmap[Menus, Skills_Special]",[-13, 8], 255, [0, 0, "bw + 3", "bh + 13"]],)
end
x = 0
y = 0
end
result
end
But I want Skills_Physical to have a different picture based on the actor. So e.g. Skills_[hysical1 for actor1. Skills_Physical2 for actor2. How can I do that?
I tried adding something like if actor = $game_actors[1] && if select but it doesn't work..