Is there a way to have actors/classes gain tp based on a .csv file? (comma-separated values)
rpg maker vx ace adjusting max tp though a csv file
RGSS3 Script RequestsWhat would be the point in doing that exactly?
No matter what you do, you will have to use a script call to add TP based on any dynamic formula, which means you might as well just use an array or hash to store whatever you want in those csv files and use that.
Arrays are basically "comma-separated values", objects which can store unlimited elements with an index system.
A hash is the same, but you can even name your elements in this one.
Examples:
Both of them can take any data types (numbers, strings, symbols, other arrays and hashes, etc), the keys and the values of the hash too.
Using an external file for something this trivial sounds counter-productive to me.
There are plenty of commas separating values in arrays and hashes too anyway. 😀
No matter what you do, you will have to use a script call to add TP based on any dynamic formula, which means you might as well just use an array or hash to store whatever you want in those csv files and use that.
Arrays are basically "comma-separated values", objects which can store unlimited elements with an index system.
A hash is the same, but you can even name your elements in this one.
Examples:
Code:
# An array:
MyAry = [0,1,2,3,4,5,6,7,8,9,10]
# A hash:
MyHash = {:key1 => 1, :key2 => "wut?", :yay => :symbol2 }
Using an external file for something this trivial sounds counter-productive to me.
There are plenty of commas separating values in arrays and hashes too anyway. 😀
Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-adjusting-max-tp-though-a-csv-file.92948/