Hello,
I am making an RPG map with a hippodrome, where people will be able to bet for the unit that will make it to the finish line first.
So, I have made a little arena with 4 lanes, in which 4 units (for example, a peasant, a peon, an acolyte and a wisp) will appear in one each.
Then, one dialog appears, with the title "Which lane will you bet on?" with 4dialog buttions:
-Lane 1
-Lane 2
-Lane 3
-Lane 4
Then, as the player chooses which lane he wants to vote on, another dialog appears with this time the title "How much gold will you bet?" with 4 dialog buttons:
-1 000
-2 000
-5 000
-10 000
Now, lets say the unit in lane 4 will win. I wish to create triggers to be able to adapt themseles to every type of situation. Like, the guy bets on lane 1, he loses 10 000 if he clicked on the 10 000 dialog button. The guy bets on lane 2, and he loses 1 000 if he clicked on the 1 000 dialog button. The guy that bets on Lane 4 gets the double of what he betted on.
I tried doing this with making player groups, but I didn't manage.
Thank for vert much for responding.
I am making an RPG map with a hippodrome, where people will be able to bet for the unit that will make it to the finish line first.
So, I have made a little arena with 4 lanes, in which 4 units (for example, a peasant, a peon, an acolyte and a wisp) will appear in one each.
Then, one dialog appears, with the title "Which lane will you bet on?" with 4dialog buttions:
-Lane 1
-Lane 2
-Lane 3
-Lane 4
Then, as the player chooses which lane he wants to vote on, another dialog appears with this time the title "How much gold will you bet?" with 4 dialog buttons:
-1 000
-2 000
-5 000
-10 000
Now, lets say the unit in lane 4 will win. I wish to create triggers to be able to adapt themseles to every type of situation. Like, the guy bets on lane 1, he loses 10 000 if he clicked on the 10 000 dialog button. The guy bets on lane 2, and he loses 1 000 if he clicked on the 1 000 dialog button. The guy that bets on Lane 4 gets the double of what he betted on.
I tried doing this with making player groups, but I didn't manage.
Thank for vert much for responding.