Main Menu
  • Welcome to The RPG Maker Resource Kit.

Albertfish's Skill point Spending--Variable

Started by DarkMessiah, October 30, 2010, 06:44:06 PM

0 Members and 1 Guest are viewing this topic.

DarkMessiah

http://rmrk.net/index.php/topic,34809.0.html
EDIT:After installing Reader and looking at the guide, I saw how to utilize the points, but it still left me confused.
Copy/Paste:
[spoiler]Each skill has points assigned to it which you may need to access through events throughout the game. To do so, we will need to take a look at another script. The script displayed
in Figure 7 is an example on how to accomplish this. In Figute 7, a refers to the characters name and s refers to the name of the skill that you want to get the number of points for. So looking at Figure 7, we are going to get the number of points for Aluxes' fishing skill and store it in game_variables[1], which is the first game variable. These variables can be accessed through the "Control Variables" event.[/spoiler]
Figure 7:
[spoiler]a = "Aluxes"
s = "Fishing"
num = $game_party.skills (a, s)
$game_variables [1] = num[/spoiler]
Does this mean I have to create an event like this on every map, or just on one, and it will carry through the whole game?


Looking at albertfish's skill point spending system, It was the perfect fit for my game. However, it seems the skills and the values really don't do anything, like there only there for looks. Are they connected to variables, so you could do something like "If skill x's value doesnt equal y, you can't open this door" or something along those lines. What im saying is, are they already connected to variables, or is there a way to connect the skills to variables? Thanks

shintashi

variables stay throughout the game, but whether or not you can access them depends on the related code.