Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi there! I'm working on a story mod and I've got a question with the tool. Is "==" the only operator available for checking variables? Can I also use "!="?

Reason I ask is I want to keep track of random events that will happen multiple times until a certain choice is made and it has to be a meta variable and not an actor one. If that's not possible at this time, would it be possible for it to be added in the future?

EDIT= Also, what about the new relationship stats that were added in 9.0?

Yeah, there's only "==" right now, I'll add "!=" in the next update

New relationship stats aren't in the editor yet, so you'll have to add them manually. And you can't check for influence or romance yet.

{
            "target": "@actor_0@",
            "parameter": "friendship",
            "formula": "+ 3"
},

{
            "target": "@actor_0@",
            "parameter": "influence",
            "formula": "- 5"
},

{
            "target": "@actor_0@",
            "parameter": "romance",
            "formula": "+ 2"
}

Make sure there's a space between +/- and the number

Thank you, JSON works fine for me! Thank you for adding the feature, it'll really help out a ton with scripting, is it possible to also add condition checks for influence and romance in the next update as well? It's fine if it's only doable in JSON at first, that's all I would need to get this project off the ground. :)