• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Questions.

Status
Not open for further replies.

flav1us

F

flav1us

Well I found the map situated at the bottom a couple of hours ago, but I, being a noob at this stuff, don't know how to edit the triggers so the hero selection starts without typing '-new'.

Can someone help me out please.
Currently each player has to type '-new' to be able select a charatcer. '-news' takes them to the character selection. All I want is for it to start automatically.

Credits for the map goes to the owner.
 

Attachments

Change the Set up trigger to:

  • Set up
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Set tempPGroup = (All players)
      • Player Group - Pick every player in tempPGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked player) slot status) Equal to Is playing
              • ((Picked player) controller) Equal to User
            • Then - Actions
              • Player Group - Add (Picked player) to Hero_Selecting_Group
              • Camera - Lock camera target for (Picked player) to Hero Select Center 0008 <gen>, offset by (0.00, 0.00) using Default rotation
              • Camera - Set (Picked player)'s camera Rotation to 225.00 over 0.00 seconds
              • Selection - Select Hero1 0000 <gen> for (Picked player)
              • Cinematic - Clear the screen of text messages for (Player group((Picked player)))
              • Game - Display to (Player group((Picked player))) for 30.00 seconds the text: HS_Text_Name[1]
              • Game - Display to (Player group((Picked player))) for 30.00 seconds the text: HS_Text_Type[1]
              • Game - Display to (Player group((Picked player))) for 30.00 seconds the text: HS_Text_Abilities[1]
              • Game - Display to (Player group((Picked player))) for 30.00 seconds the text: HS_Text_Description[1]
              • Set Hero_Selector[(Player number of (Picked player))] = 1
              • Set Current_Hero[(Player number of (Picked player))] = Hero1
              • Set Picking_Hero[(Player number of (Picked player))] = True
            • Else - Actions
      • Custom script: call DestroyForce( udg_tempPGroup )
 
What should the temPGroup - variable type be set to? Also the thing at the bottom says like 0(default). Does that need to be changed?
 
For the second part though, if tempPGroup is Player Group, it only lets me choose All Players.

It doesn't show anything about number of players.

If I just leave it as 'All Players' it doesn't start up.
 
Status
Not open for further replies.
Back
Top