Can someone plz tell me how to find notetags?
Usuaaly i check Yanfly's scripts first when i want to see how to do something.
But notetags seems too confusing for me.
example:I want to check if an state(example) has a <poison> note tag, how would i do it?
edit:
the script have to find notetags.
Because i'm (trying) to make a script that changes the way the poison skill does outside battle(Like vx,1 damage per step[instead of 10% every random steps]).
Sorry for the lack of informations.
How to find notetags?
● ARCHIVED · READ-ONLY
-
-
Go to your database editor, go to states, see that huge white box on the bottom right? That's the Note box and you put Note tags there.
-
No i mean, the script have to find notetags.
Because i'm (trying) to make a script that changes the way the poison skill does outside battle(Like vx,1 damage per step[instead of 10% every random steps]).
Sorry for the lack of informations. -
-
object.note would give you the notes of that object
-
One of the simple approach is to be like this
Code:class RPG::Something def notetag return @note_value if @note_value if note[/<notetag: (\d+)>/i] @note_value = $1.to_i end return @note_value ||= 0 endend -
there's a pretty great guide about it here:
http://forums.rpgmakerweb.com/index.php?/topic/1686-a-guide-to-notetagging/
It's a lot of reading, but it's worth it :) Of course it will make more sense if you know some about programming. -
Thank you very much guys!
Now ican continue the script.