I'm kind of new with the Galaxy editor, so forgive me if I ask a really easy question but I couldn't find an answer in searches.
So my map has a trigger variable that represents a special resource (oil). Players can buy or sell that resource for minerals, and I'm noticing that it'd be easier for players if they could automatically sell or buy that resource via an auto-cast button.
I set up (I think) most of the functionality of the button. But I don't want it to spam them with a message saying "not enough" until they have it. How would I write a validator that checks to see if a Trigger: Variable has more than a certain sum before it fires? Do I need a validate condition?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm kind of new with the Galaxy editor, so forgive me if I ask a really easy question but I couldn't find an answer in searches.
So my map has a trigger variable that represents a special resource (oil). Players can buy or sell that resource for minerals, and I'm noticing that it'd be easier for players if they could automatically sell or buy that resource via an auto-cast button.
I set up (I think) most of the functionality of the button. But I don't want it to spam them with a message saying "not enough" until they have it. How would I write a validator that checks to see if a Trigger: Variable has more than a certain sum before it fires? Do I need a validate condition?