AaronPwner
Member
- Reaction score
- 0
1) Can I use more than 2 decimal places? I want to create a dynamic trading post that increases or decreases price depending on how much it has in stock and was going to use an exponential function [ 1.5(1.00018)^-x; where X=resource in trading post and Y= trade ratio ] however the editor can't go past 2 decimals.
2) Can I run a trigger off of a button click? Like make a button for a building, say an ability that doesn't do anything, and when it's on a certain trigger action takes place, and when it's off a certain trigger action takes place.
EX: Click Building Ability "Destroy on Click"
If X=0
Then
Turn On Trigger "DestroyClick"
Else
Turn Off Trigger "DestroyClick"
End
2) Can I run a trigger off of a button click? Like make a button for a building, say an ability that doesn't do anything, and when it's on a certain trigger action takes place, and when it's off a certain trigger action takes place.
EX: Click Building Ability "Destroy on Click"
If X=0
Then
Turn On Trigger "DestroyClick"
Else
Turn Off Trigger "DestroyClick"
End