I have a script that creates a scene for learning skills, you can choose skill type and then learn a skill of that type (Skill types are created on the database, not in the script, the script just creates a tab in that scene with the skill type name)
So I have different Skill types like "Fire Magic" and "War axe". What I need is to be able to draw the value of "firemagic" variable after the "Fire Magic" vocab, to make the player know how good are they at that type of skill.
Maybe modifying the name and add those strange %/d"$ symbols that are used in other vocabs to draw variables or something
OR how to modify a scene to be able to draw the value of a variable (without having to do something fancy on the vocab
Simple HowTo request for drawing variable value
● ARCHIVED · READ-ONLY
-
-
This will get you the name of the skill types from the database:
Code:You must replace the stype_id with a valid skill type ID from your database.$data_system.skill_types[stype_id]
This will get you the skill type of a skill:
Code:The skill_obj can be any method or variable which returns an RPG::Skill object.skill_obj.stype_id
And this will get the value of a variable:
Code:Replace the id with the ID of the variable you want to display.$game_variables[id] -
Thank you very much! :DThis will get you the name of the skill types from the database:
Code:You must replace the stype_id with a valid skill type ID from your database.$data_system.skill_types[stype_id]
This will get you the skill type of a skill:
Code:The skill_obj can be any method or variable which returns an RPG::Skill object.skill_obj.stype_id
And this will get the value of a variable:
Code:Replace the id with the ID of the variable you want to display.$game_variables[id]