• 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.

[Trigger] Trigger to change Goldmines to NE/UD Goldmines

Status
Not open for further replies.
Level 2
Joined
Jul 8, 2007
Messages
19
Hello guys , i wanted to create a new "Warcraft" with new units and heros and races etc.
Now im having some problems in creatingthe dialog actions.
I just got the dialog and can choose the races.
So now if its done you will get 5 workers and a main building.
But now there is a problem, that the goldmines of UD and NE are the normal ones , so the workers cant work in it.
I cant get it working.
Could you please help me?
Thanks.:infl_thumbs_up:
 
Level 2
Joined
Jul 8, 2007
Messages
19
first of all thanks for your answer.
So i cant find this button instantly haunt/entangle gold mines.
And if i use
  • Melle - Create (Race of triggering player) starting units for triggering player at triggering palyer start location
he just gives me the start units of the race i took in the main menu of the map in wc3 ,even if i take nightelf in the dialog.
And if i would use
  • Meele-Instantly haunt/entagngle gold mines
he would entangle/haunt all , wouldnt he?
Thanks cya :thumbs_up:
 
Level 5
Joined
Jun 23, 2004
Messages
126
Um...I don't think so? It should allow you to select one...

Yeah actually there are 2 ways to do this:

  • Neutral Building - Haunt No unit for Player 1 (Red)
And obviously No Unit is your chosen mine.

  • Unit - Order No unit to Night Elf Tree Of Life - Entangle (Instant) No unit
Where No Unit #1 is the appropriate tree and No Unit #2 is the appropriate goldmine.
 
Level 2
Joined
Jul 8, 2007
Messages
19
thank you , but there is still a problem , because i cant set "No unit" to my tree because its just creating after pressing the dialog button.
And the Gold mine , is different to the start location of the player , so what do i have to pick as the gold mine?
Because there 12.
Thanks
 
Level 2
Joined
Jul 8, 2007
Messages
19
hmm thanks but i cant get it work
I use:
  • Event-
    • A Dialog Button is clicked for dialog
  • Actions -
  • ........
  • If/then/else
  • 'IF'-Condition
  • (Clicked Dialog button = Dialogbutton[2]
  • 'THEN'-Action
  • Create 1 Tree of life
  • Order (Last created Unit) to Nightelf-Tree-of-Life - Entangle(Instant)
And now i got something starnge like Random Unit , unit range 1000 , because i cant find something matching.
Can u please help me?
And for Undead it is Haunt Goldmine right?
I just cant find these Location finders , i just get Random Unit with a range.
Thanks
 
Level 35
Joined
Oct 9, 2006
Messages
6,394
I took a look into my WEU
came up with this
  • Events
    • A dialog button is clicked for Race Dialog
  • Conditions
    • Clicked dialog button equal to High elf
  • Actions
    • Unit - Create 1 (Tree of life for (Triggering player))
    • Set
    • Unit - Order (Last created unit) to entangle nearby goldmine
Hope this would help for entangle (just make the build time for entangle goldmine very low, to make it build fast (if you need to)

For haunt you could use...

  • Events
  • Conditions
  • Actions
    • Unit - Create 1 Haunted Goldmine for (Triggering player) at ((Position of (startposition of (triggering Player)) offset by 900.00 towards 0.00 degress) facing Default building facing (270.00) degress
Maybe the offset should be more then 900.00 try it out...
 
Level 5
Joined
Jun 23, 2004
Messages
126
Forgot the instantly bit :p This order causes it to entangle the goldmine with no build time. But overall correct.
  • Events
    • A dialog button is clicked for Race Dialog
  • Conditions
    • Clicked dialog button equal to High elf
  • Actions
    • Unit - Create 1 (Tree of life for (Triggering player))
    • Set
    • Unit - Order (Last created unit) to entangle (INSTANTLY) nearby goldmine
For haunt you could Pick Every Goldmine Within 1000 Radius of Player Start Position and do Neutral Building - Haunt Goldmine Instantly (Picked Unit)
 
Level 2
Joined
Jul 8, 2007
Messages
19
thanks very much-
I got undead working.
But I cant find the nightelf entangle "Nearby Goldmine"I cant find this Nearby Goldmine.
Big thanks for your help til here!
 
Level 35
Joined
Oct 9, 2006
Messages
6,394
Forgot the instantly bit :p This order causes it to entangle the goldmine with no build time. But overall correct.
Didnt knew what he wanted, and the other option is just below the one i wrote, thought he could figure it out :smile:

For haunt you could Pick Every Goldmine Within 1000 Radius of Player Start Position and do Neutral Building - Haunt Goldmine Instantly (Picked Unit)
Or the one I postet... simply build it (create) close to base...
 
Status
Not open for further replies.
Top