Selection System.

VoRteX

New Member
Reaction score
0
Is there any systems out there like this:
There are 4 areas, all are of different races, the race camera shows the area and the heroes available for selection. Pressing Left/Right will pan camera to race on left/right. Press ESC to choose race, then, on the race you have selected it will zoom up to one of the Heroes, showing details about that hero. Pressing Left/right will pan camera to only those heroes in that certain race.

btw ive spent about 3 hours on trying to create one but im not very experienced in triggering this kind of thing.
 

Conal

Member
Reaction score
12
Where are you having problems? The only hard part I could imagine would be getting the zoom and camera angled just how you want it.
 

jig7c

Stop reading me...-statement
Reaction score
123
there is not system that does what you want specifically...
post your triggers here and then we can definetly help you...

im assuming when the game begins, you are taken to a selection process where you start off with picking a race, and then you pick a hero from there right?
 

VoRteX

New Member
Reaction score
0
Yeah sorta ^^
Its more like viewing the race you wish to choose and then when you press ESC it zooms into the heroes belonging to that race and you can choose a hero after it has zoomed in ^^
So heres my trigger so far, im sure there is a few different variations on how to do this but heres my attempt: (i got to changing race cameras left and right, but it didnt turn out how i liked, then i sorta gave up after not being able to find why it didnt work)

Trigger:
  • Actions
    • Trigger - Run Race Selection Starter <gen> (ignoring conditions)
    • This is in a previous trigger


Trigger:
  • Race Selection Starter
    • Events
    • Conditions
    • Actions
      • Player Group - Pick Every Player in (all players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Camera 015 <gen> for (picked player) over 0.00 seconds
    • Set NextRace <gen> target of Druid Race <gen>
    • Set NextRace Left <gen> target of Druid Race <gen>
    • Set RaceCameraFix <gen> = 4
    • Trigger - Turn on Druid Race Selection Right <gen>
    • Trigger - Turn on Druid Race Selection Left <gen>


Trigger:
  • Druid Race Selection (Right)
    • Events
      • Player - Player 1 - 10 (red - light blue) Presses the Right Arrow key
    • Conditions
    • Actions
      • If (All conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • RaceCameraFix Equal to 4
        • Then - Actions
          • Set RaceCameraFix = 1
          • Cinematic - Clear screen of text messages for Allplayers_Copy_3
          • Player Group - Remove (triggering player) from Allplayers_copy_3
          • Player Group - Add (triggering player) to Allplayers
          • Trigger - Turn off Holy Race Selection (Right) <gen>
          • Camera - Pan camera for (triggering player) to NextRace over 0.10 seconds
          • Trigger - Turn off race selection starter <gen>
          • Wait 0.10 seconds
          • Set NextRace = (target of barbarian race <gen>)
          • Trigger - Turn on barbarian race selection (Right) <gen>


Then it goes:
Trigger:
  • barbarian Race Selection (Right)
    • Events
      • Player - Player 1 - 10 (red - light blue) Presses the Right Arrow key
    • Conditions
    • Actions
      • If (All conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • RaceCameraFix Equal to 1
        • Then - Actions
          • Set RaceCameraFix = 2
          • Cinematic - Clear screen of text messages for Allplayers
          • Player Group - Remove (triggering player) from Allplayers
          • Player Group - Add (triggering player) to Allplayers_copy
          • Trigger - Turn off Druid Race Selection (Right) <gen>
          • Camera - Pan camera for (triggering player) to NextRace over 0.10 seconds
          • Wait 0.10 seconds
          • Set NextRace = (target of mage race <gen>)
          • Trigger - Turn on mage race selection (Right) <gen>


And:
Trigger:
  • mage Race Selection (Right)
    • Events
      • Player - Player 1 - 10 (red - light blue) Presses the Right Arrow key
    • Conditions
    • Actions
      • If (All conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • RaceCameraFix Equal to 2
        • Then - Actions
          • Set RaceCameraFix = 3
          • Cinematic - Clear screen of text messages for Allplayers_copy
          • Player Group - Remove (triggering player) from Allplayers_copy
          • Player Group - Add (triggering player) to Allplayers_copy_2
          • Trigger - Turn off barbarian Race Selection (Right) <gen>
          • Camera - Pan camera for (triggering player) to NextRace over 0.10 seconds
          • Wait 0.10 seconds
          • Set NextRace = (target of holy race <gen>)
          • Trigger - Turn on holy race selection (Right) <gen>


ANd finally (for right)
Trigger:
  • holy Race Selection (Right)
    • Events
      • Player - Player 1 - 10 (red - light blue) Presses the Right Arrow key
    • Conditions
    • Actions
      • If (All conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • RaceCameraFix Equal to 3
        • Then - Actions
          • Set RaceCameraFix = 4
          • Cinematic - Clear screen of text messages for Allplayers_copy_2
          • Player Group - Remove (triggering player) from Allplayers_copy_2
          • Player Group - Add (triggering player) to Allplayers_copy_3
          • Trigger - Turn off mage Race Selection (Right) <gen>
          • Camera - Pan camera for (triggering player) to NextRace over 0.10 seconds
          • Wait 0.10 seconds
          • Set NextRace = (target of druid race <gen>)
          • Trigger - Turn on druid race selection (Right) <gen>


And thats it for Moving Right.
Heres Left:

Trigger:
  • Druid Race Selection (Left)
    • Events
      • Player - Player 1 - 10 (red - light blue) Presses the Left Arrow key
    • Conditions
    • Actions
      • If (All conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • RaceCameraFix Equal to 1
        • Then - Actions
          • Set RaceCameraFix = 4
          • Cinematic - Clear screen of text messages for Allplayers_Copy_7
          • Player Group - Remove (triggering player) from Allplayers_copy_7
          • Player Group - Add (triggering player) to Allplayers_copy_4
          • Trigger - Turn off Holy Race Selection (left) <gen>
          • Camera - Pan camera for (triggering player) to NextRaceleft over 0.10 seconds
          • Trigger - Turn off race selection starter <gen>
          • Wait 0.10 seconds
          • Set NextRace = (target of barbarian race <gen>)
          • Trigger - Turn on barbarian race selection (left) <gen>


And then
Trigger:
  • Barbarian Race Selection (Left)
    • Events
      • Player - Player 1 - 10 (red - light blue) Presses the Left Arrow key
    • Conditions
    • Actions
      • If (All conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • RaceCameraFix Equal to 4
        • Then - Actions
          • Set RaceCameraFix = 3
          • Cinematic - Clear screen of text messages for Allplayers_Copy_4
          • Player Group - Remove (triggering player) from Allplayers_copy_4
          • Player Group - Add (triggering player) to Allplayers_copy_5
          • Trigger - Turn off Barbarian Race Selection (left) <gen>
          • Camera - Pan camera for (triggering player) to NextRaceleft over 0.10 seconds
          • Wait 0.10 seconds
          • Set NextRace = (target of mage race <gen>)
          • Trigger - Turn on mage race selection (left) <gen>
And ETC

Now i was going to make the next part (choosing the race - and then hero) but i give sorta gave up on it, i hate moving on when the first part isn't done cos then it cud drastically change when you fix it

Cheers if you can help out
EDIT: Long post much ikr
Code:
 

Conal

Member
Reaction score
12
What do you not like about the outcome?

At a glimpse, you could easily optimize the conditions for each direction into one trigger and move the similar actions out of the if statements.
 

VoRteX

New Member
Reaction score
0
As i said im not really any good at triggering and this is just my attempt at it, the outcome was that you could view the 4 races but you could only change direction of the panning on the 4th or 1st race, which isnt what im trying to do. But you seem to know what you are doing why dont you try fix my trigger for me ^^

thanks for the reply
 

VoRteX

New Member
Reaction score
0
Bump.jpg
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top