• 0

    posted a message on Pre-Game Variant "Voting"

    Ah ok, i dont even remember all of the components of this trigger...woopsies... In that case will i have to add 3 "if then else" statements that have this condition: Winner == 0 / Winner == 1 / Winner == 2. 0-1-2 are the 3 modes 45 minute, 65 minute, and no time. Then have the action change the timer?

    EDIT: I added what might be the outcome actions on the screenshot below.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    Nevermind about switches then, but the "Winner" variable is an integer and each result makes it 1 doesnt it? So checking the "Winner" variable would result in the same Game Length. Unless the "Winner" variable need to be a attribute value but that would change everything else. Im not quite sure what you mean by "1 trigger for each game mode". I want to "if then else" actions to check the winning vote, and fire a trigger(1 of 3) based off the winning attribute value. These 3 triggers will change the timer from 45 minutes, 65 minutes, and no timer. The trigger layout is still the same i havent added anything yet.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    Would a "switch" instead of a "in then else" statement work better? I kinda understand what youre telling me, but how would i determine which will activate? I know what actions will be set once the choice is activated but not how the trigger would choose.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    Okay after all of that, how do i design a trigger that will now check the winning vote and fire a trigger based on the outcome?

    EDIT: I forgot to add the set variable action but they are now added (Variable - Set Attribute Values[1] = 65 Minute Rescue) - - (Variable - Set Attribute Values[2] = No Rescue). They wont show up in the screenshot but they are there i'd just rather not edit another screenshot because having dual screens causes a screenshot to snap both monitors.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    How exactly would i set its values? Responding to "Your attribute values variable is local so you need to set its values in that trigger before the player loop.".

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    I believe i fixed those just now and about your edit, what do i need to do to do that? If there is a draw i want the result to be 45 Minute Rescue(The Default Setting). If making the result random between the draw isnt too complex then i would like to do that.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    I juts added my trigger layout to my last comment, check it please because im not sure about everything.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    There are 3 attribute variable types : Game, Player, and Value. Which of these do i choose? In the mean time ill assume its value.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    Well i added the part thats checks majority vote, but what do you do with "The trigger needs the difficulty or game mode array and their values"? Do i add a integer array with its array value at 3?

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    So is this how the trigger should look?

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    I know that but where does this picked integer come from? From how the trigger looks the "pick integer 0-2" wont have any effect on the outcome at all.

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    I just found out that the palyer attributes in the triggers cant check the VALUES which is where my difficulties are since each attribute must have a value, do i have to make 3 attributes with one value that does nothing?

    EDIT: I just noticed that the trigger DOES look at attribute values... my bad. I still dont know what exactly i have to do for the "Value 2:"

    - - IF - - - - (GAME ATTRIBUTE) value for player (PICKED PLAYER) == (WHAT VARIABLE/ACTION???)

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"
    Quote from Trieva: Go

    Quote from Trieva: Go

    Pick each active player, Pick each integer from 0 to 2, If attribute player value for picked player = Difficulty[picked integer], then modify vote_count[picked integer] + 1.

    What variables go in for "attribute player value " and "= Difficulty[picked integer],"

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    I dont know what it is but i cant understand what youre telling me, i assume the event is map initialization so there is no trouble there, but the two quotes... do they go in the same trigger or two different ones?

    Posted in: Triggers
  • 0

    posted a message on Pre-Game Variant "Voting"

    I kinda understood this... i made 3 local variables one is a array with the array value at 3, and two are integers titled Winner and Winning Count. I also made a Attribute ID(Player) array variable, other than that i have no idea what youre telling me. If i remeber correctly GUI is a way of viewing the triggers, or is that XML? EIther way i use tree view of whatever the simplest view is.

    Posted in: Triggers
  • To post a comment, please or register a new account.