Can you store a skills cost and scope in a variable?

ScorchedGround

Blizzards most disappointed fan
Veteran
Joined
Apr 12, 2020
Messages
539
Reaction score
752
First Language
German
Primarily Uses
RMMV
The title explains it all.

I am looking for something like

$gameVariables.setValue(X, $dataSkills[Y].cost);
$gameVariables.setValue(Z, $dataSkills[Y].scope);
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
596
Reaction score
266
First Language
PT-BR
Primarily Uses
RM2k3
An easy way to read the Object is to open the console (F12).
You type the variable to return the value, being an Object you can open it just by clicking with the mouse on the console, so you can read all the data that it stores.
 

ScorchedGround

Blizzards most disappointed fan
Veteran
Joined
Apr 12, 2020
Messages
539
Reaction score
752
First Language
German
Primarily Uses
RMMV
@Dev_With_Coffee

Hey that's a great piece of information.
I already found what I'm looking for with this.
I'll see if I can make it work like that.

Thank you very much.
 

Latest Threads

Latest Posts

Latest Profile Posts

Playing my game to improve my game. (Totally not procrastinating)
Hope he recovers fast :|
Looks like it's functional:
It's a common thing to forget eating &drinking while you are working concentrated, right?
If I had discovered RPG-Maker before moving together with my girlfriend, I'd have died of dehydration a long time ago.
Ami
trying to change my picture & got screwed up...

Forum statistics

Threads
112,497
Messages
1,068,693
Members
146,167
Latest member
ryweuu
Top