- Joined
- Sep 13, 2014
- Messages
- 696
- Reaction score
- 215
- First Language
- Vietnamese
- Primarily Uses
- RMMV
Hi guys,
I have changed the display of skill description to allow it to get the text i write in its Note Box overwritting this method:
class Window_Help < Window_Base #-------------------------------------------------------------------------- # * Set Item # item : Skills and items etc. #-------------------------------------------------------------------------- def set_item(item) set_text(item ? item.description + "\n" + item.note : "") endendThe problem is: I'm using other scripts that required Note Tags "<example>" in the Note Box in order to use, and the method above also write these Note Tags inside my description. Now i want to changed this Set_Item method to ignore any Note Tags between these "<" and ">" or only display from a certain line (Like display from line 5 in Note Box cuz 1 to 4 are used for Note Tag of other scripts) so how can i do it?
I have changed the display of skill description to allow it to get the text i write in its Note Box overwritting this method:
class Window_Help < Window_Base #-------------------------------------------------------------------------- # * Set Item # item : Skills and items etc. #-------------------------------------------------------------------------- def set_item(item) set_text(item ? item.description + "\n" + item.note : "") endendThe problem is: I'm using other scripts that required Note Tags "<example>" in the Note Box in order to use, and the method above also write these Note Tags inside my description. Now i want to changed this Set_Item method to ignore any Note Tags between these "<" and ">" or only display from a certain line (Like display from line 5 in Note Box cuz 1 to 4 are used for Note Tag of other scripts) so how can i do it?

)