Disregarding #2, I want it to upgrade for the neutral player not the player that is clicking the button. I want it so that Player 3 clicks on the neutral player's base and then clicks the Upgrade Button. It then subtracts the minerals from Player 3 and applies the upgrade to the Neutral player, not Player 3.
Hey there, I have a few questions regarding command cards. Please excuse me if I am in the wrong sub-forum but I am not sure if this is done with Data or Triggers. I prefer for this to be done with Data but if it would be easier to do with Triggers then I would prefer Triggers.
1.) In my map I have a neutral player (player 0) and then several other players in the game. The neutral player has only a few buildings consisting of defenses and a base. On the base there is a upgrade button that will upgrade the base. I want any player to be able to click on the base and when hitting the upgrade button it will spend there money to upgrade it, not the neutral players cash. Example: Player 3 clicks on the base and the clicks the Upgrade Base Button for 10 minerals, it then takes 10 minerals from Player 3 and then applies the upgrade to player 0.
2.) Similar to number 1, in that same base there is a submenu to buy additional units and upgrades. When a player clicks on a button to purchase a unit or upgrade, I want it to spend the purchasing players money and then give them the upgrade/unit that they purchased. Example: Player 2 decides to purchase a Marine for 10 minerals and Combat Shield Upgrade for 5 minerals. It then takes 10 minerals from Player 2 for the marine, and gives Player 2 the Marine. Then Player 2 purchases the Combat Shield Upgrade, it takes 5 minerals from Player 2 and gives Player 2 the Combat Shield Upgrade.
I hope all of that makes sense. Thanks for the help!
Disregarding #2, I want it to upgrade for the neutral player not the player that is clicking the button. I want it so that Player 3 clicks on the neutral player's base and then clicks the Upgrade Button. It then subtracts the minerals from Player 3 and applies the upgrade to the Neutral player, not Player 3.
Hey there, I have a few questions regarding command cards. Please excuse me if I am in the wrong sub-forum but I am not sure if this is done with Data or Triggers. I prefer for this to be done with Data but if it would be easier to do with Triggers then I would prefer Triggers.
1.) In my map I have a neutral player (player 0) and then several other players in the game. The neutral player has only a few buildings consisting of defenses and a base. On the base there is a upgrade button that will upgrade the base. I want any player to be able to click on the base and when hitting the upgrade button it will spend there money to upgrade it, not the neutral players cash. Example: Player 3 clicks on the base and the clicks the Upgrade Base Button for 10 minerals, it then takes 10 minerals from Player 3 and then applies the upgrade to player 0.
2.) Similar to number 1, in that same base there is a submenu to buy additional units and upgrades. When a player clicks on a button to purchase a unit or upgrade, I want it to spend the purchasing players money and then give them the upgrade/unit that they purchased. Example: Player 2 decides to purchase a Marine for 10 minerals and Combat Shield Upgrade for 5 minerals. It then takes 10 minerals from Player 2 for the marine, and gives Player 2 the Marine. Then Player 2 purchases the Combat Shield Upgrade, it takes 5 minerals from Player 2 and gives Player 2 the Combat Shield Upgrade.
I hope all of that makes sense. Thanks for the help!