Hello! I am attempting to make a dialog box with four buttons that allow any player to donate 10 minerals to one of four players with each click. Here is my code:
I'm really at a loss as to why this is not working, I feel like the logic is sound. Any help will be greatly appreciated.
Hello, I have recently started to delve into the amazing editor that starcraft has. It's not my first experience with game editors in general, but it is with the starcraft 2 one.
I am attempting to add four buttons that would donate to player 1, player 2 player 3 etc using the data editor. So far I have 1. Created an effect that (I think) allows 10 minerals to be added to a player and subtracted from the player that clicked it 2. linked the effect to an ability 3. made a button 4. added the button to a building's command card and linked the ability
After attempting this with the button I tried doing it with triggers to no avail. I also feel like that is also a really inefficient way of doing it.
Is there an easier way to simply get the player pressed button to add 10 minerals from the player who pressed it and put it into a certain players minerals? If I'm on the correct track but did a minor detail wrong how can I fix it?
0
@BasharTeg: Go
Wow thanks so much, I hate it when this happens. Such a noob mistake.
0
Hello! I am attempting to make a dialog box with four buttons that allow any player to donate 10 minerals to one of four players with each click. Here is my code:
I'm really at a loss as to why this is not working, I feel like the logic is sound. Any help will be greatly appreciated.
0
Hello, I have recently started to delve into the amazing editor that starcraft has. It's not my first experience with game editors in general, but it is with the starcraft 2 one.
I am attempting to add four buttons that would donate to player 1, player 2 player 3 etc using the data editor. So far I have 1. Created an effect that (I think) allows 10 minerals to be added to a player and subtracted from the player that clicked it 2. linked the effect to an ability 3. made a button 4. added the button to a building's command card and linked the ability
After attempting this with the button I tried doing it with triggers to no avail. I also feel like that is also a really inefficient way of doing it.
Is there an easier way to simply get the player pressed button to add 10 minerals from the player who pressed it and put it into a certain players minerals? If I'm on the correct track but did a minor detail wrong how can I fix it?
Thanks!