You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This object is really nice but it lacks in some areas. so I made a list of some additions that should be looked at.
Some Global functionality. (Like INI++v1.5 Global Data/Key) where if there is copies of the object on multiple frames with a key, it would all be the same.
Load a JSON from a path. so far the a work around is to make a edit box and load it from string. Its annoying to do this extra step but its ok. I rather like to see it built in.
Shorter way to Get or Set JSON data. I thought of something like this:
For Expressions: getFloat("JSON Object", "Player[HP]") getInt("JSON Object", "Player[Level]") getString("JSON Object", "Player[Other][0]") getBool("JSON Object", "Player[canBuff]") // Returns 0 for False, 1 for True
For Actions : Set Float > "Player[HP]" > 25.0 Set Int > "Player[Level]" > 5 Set String > "Player[Other][0]" > "NewSomething" Set bool > "Player[canBuff]" > 1 // Turns into true if 1, false if 0
This object is really nice but it lacks in some areas. so I made a list of some additions that should be looked at.
For Expressions:
getFloat("JSON Object", "Player[HP]")
getInt("JSON Object", "Player[Level]")
getString("JSON Object", "Player[Other][0]")
getBool("JSON Object", "Player[canBuff]")
// Returns 0 for False, 1 for TrueFor Actions :
Set Float > "Player[HP]" > 25.0
Set Int > "Player[Level]" > 5
Set String > "Player[Other][0]" > "NewSomething"
Set bool > "Player[canBuff]" > 1
// Turns into true if 1, false if 0example json:
The text was updated successfully, but these errors were encountered: