Hi! I have a few things that i would like to know about skills in relation to scripting:
1. how would you draw a skill's icon?
2. how would you print the skill's name?
3. how would you write the amount of sp needed for the skill?
4. how would you be able to get an attribute for a skill to display something like element type?
thx in advance!
Strike one for wrong forum. (Should be in script help)
http://rmrk.net/index.php/topic,20694.0.html
1-3. Check Scene_Skill or Window_Skill, one of those should show all the code.
4. You'd probably need to write your own method, which checks which element the skill is, I don't think one is built in.
oops...thought i was in scripts help....i'll have to pay closer attention next time...
EDIT: I got the first 3 to work, but the code that finds what attributes a skill has is part of the 'hidden' code, i traced it to this call:
@common_event_id = @skill.common_event_id
so the code is a common event, and i don't think that there are any common events in the scripts......I just need to know how to get whether an attribute is set to the skill.