• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

SC1 BW Triggers

Status
Not open for further replies.
Level 2
Joined
Jun 8, 2017
Messages
5
Hi all.

Im making a trigger based on using

condition - "current player building score is exactly 1" and the action firing off as

"modify resource, add 3 gas"

"wait"

"modify resource, subtract 3 gas"

"wait"

"modify resource, add 3 ore"

"preserve"

also doing "modify score for current player: set to 0 building", stops looping.

im curious how i can keep the 3 ore after spending it so it isn't lost and the ore stays to stack onto the next batch.

im doing it this way as a neat sorta conversion from gas to ore to receive ore for my map.


Edit:

I did it differently. I made it where 10 custom score gained gave 1 building as action.

This gave a set amount of Ore. For gas, i put it as a certain amount of custom score can be converted
to gas at location.

Trying to convert ore to gas and keep it that way doesn't work, i tested alot.
 
Last edited:
Status
Not open for further replies.
Top