QUOTE (Kread-EX @ Jan 7 2011, 12:22 AM)

Yeah, it seems that the attribute you want to learn doesn't exist.
That's quite odd, since I made the attribute...
Also, I solved the other problem, but another one comes to my mind, whenever I translate the word "Attribute", it tells me that I have an error in the script, is there a way to translate it or change the attributes serction name??
-------------------------------------Edit
Ok, I have the exact scripts now and when I make an event to teach an attribute, it throws me an error in the next string:
CODE
def start_attribute(id)
index = @attributes.index(Attribute.new(id))
@attributes[id] = Attribute.new(id) if index.nil?
end
def remove_attribute(id)
reset_attribute(id)
@attributes.delete(id)
end
def reset_attribute(id)
while @attributes[d].level > 0
attribute_down(id)
end
end
To be specific:
CODE
index = @attributes.index(Attribute.new(id))
Thanks for everything and sorry to bother, I'm making the whole game by myself and it's quite hard...
ps: the screen shot of the error is in the attached file.
This post has been edited by QuoVadis: Jan 7 2011, 08:29 AM