Okay, this is kind of hard to explain, but i’m making a tag game and i need help with the vending machine mechanics. In tag domination, you can buy, say, an endurance upgrade right off the bat from 2 different spots (upgrade alley is still too expensive), and your energy goes up to 15,000 max. the next upgrade you buy it goes up to 20,000, and you can buy those in any order to have the same effect, 15,000 → 20,000. That is what im trying to do, have both vending machines start out giving you 15,000 max energy, then after one is purchased, the other one updates to give you 20,000 max energy. I already figured out how to make an endurance upgrade, i just need to figure out how to update it. Does anyone know how to do this?
Item Purchased > Trigger
Blockcode:
Set Property
Value +1
if Get Property “endurancelevel” = 1
do Broadcast Message On Channel “increase_iim_energylimit”
Set Property
Value +1
else if Get Property “endurancelevel” = 2
do Broadcast Message On Channel “increase_iim_energy_limit”
idk if this’ll work, every time a player buys from the endurance vending machine their endurance level goes up by one and increases their energy limit by five thousand.
(I’d assume you already have the overlay that tracks your energy)
1 Like
Be sure to mark a solution if your question was answered!
1 Like
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.