im trying to create a voting system abit like probes vs zealot 2.
i have a barracks which is owned by player 14, i want to create a vote box to find out who wants to control the barracks (only 1 player), and give them ownership for the rest of the game, and if that player leaves, randomly select someone else (or if more then 1 voted for control, pick that player) to take over so there is always an active player in control.
Can someone help me with the triggers for this as i have no idea how to do that kind of voting
I tried making a trigger for this (attached), but I'm struggling on how to get around a tie in voting. I could make it choose randomly if a tie is detected, but that is probably not good enough.
ANYWAY... maybe you can do something with what I started. its a good base set up (I only have 3 players though its expandable) ill upload what I have now (with the tie picking a random player) sorry I didn't solve it completely, but maybe it can give you an idea of how to do it.
Hello thanks for the reply, im using the voting-system v1.0 found on these forums to display the whole voting so im just trying to incorporate the 2 together then will let you know how it works :)
Thanks
Rich
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello there,
im trying to create a voting system abit like probes vs zealot 2.
i have a barracks which is owned by player 14, i want to create a vote box to find out who wants to control the barracks (only 1 player), and give them ownership for the rest of the game, and if that player leaves, randomly select someone else (or if more then 1 voted for control, pick that player) to take over so there is always an active player in control.
Can someone help me with the triggers for this as i have no idea how to do that kind of voting
Thanks Rich
I tried making a trigger for this (attached), but I'm struggling on how to get around a tie in voting. I could make it choose randomly if a tie is detected, but that is probably not good enough.
ANYWAY... maybe you can do something with what I started. its a good base set up (I only have 3 players though its expandable) ill upload what I have now (with the tie picking a random player) sorry I didn't solve it completely, but maybe it can give you an idea of how to do it.
Hello thanks for the reply, im using the voting-system v1.0 found on these forums to display the whole voting so im just trying to incorporate the 2 together then will let you know how it works :)
Thanks Rich