- Joined
- May 12, 2012
- Messages
- 59
im trying to fix a trigger to prevent cheating from going on by being two species, i have it set up to purchase the species from a store that sets it up and that all works out just fine, but to prevent cheating its set up to remove the purchased unit and add the cost to the players gold amount, that also works fine. the issue i have is adding the purchased unit back to the market place based off its current inventory for that unit.
i found this,
How do you find the current value of the stock so i can use the arithmetic functions so it doesnt get all screwy. Ive tried looking to set it as an integer but to no avail as well as adding the units via trigger at the start of the game based off an integer value also to no avail, any thoughts?
im wanting to use this same fix to allow computer players for a decent but not great game but i cant get it to work
i found this,
- Neutral Building - Add Footman to (Triggering unit) with 0 in stock and a max stock of 1
How do you find the current value of the stock so i can use the arithmetic functions so it doesnt get all screwy. Ive tried looking to set it as an integer but to no avail as well as adding the units via trigger at the start of the game based off an integer value also to no avail, any thoughts?
im wanting to use this same fix to allow computer players for a decent but not great game but i cant get it to work