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

Build help, some questions (help a you can/want) - 67% solved

Status
Not open for further replies.
Level 23
Joined
Apr 8, 2017
Messages
1,604
HELP AS YOU CAN/WANT

I have some questions here.

1- How can i cancel units training with triggers? - Solved by Chaosy

2- How can i create a missile chain OR a lightning chain spell that connects with each unit type of main target?
Example:
24257531_1513856615374041_14983889_n.jpg

24337401_1513856602040709_1938675450_n.jpg

3- Enable/disable unit production from X OR X type of buildings? - It was misinterpreted but now it does not matter.

-please and thanks-
 
Last edited:

Chaosy

Tutorial Reviewer
Level 41
Joined
Jun 9, 2011
Messages
13,241
1. There is an order id for "cancel", this has been answered before so I am pretty sure you can find it with a quick search on the site. Will require a custom script, I think.
2. Actually a good idea for a system, might do it soon TM.
3. There is a GUI action for this, in the player section probably.
 
Level 23
Joined
Apr 8, 2017
Messages
1,604
1. There is an order id for "cancel", this has been answered before so I am pretty sure you can find it with a quick search on the site. Will require a custom script, I think.
2. Actually a good idea for a system, might do it soon TM.
3. There is a GUI action for this, in the player section probably.
1. I saw them but i dont know how to use it, teach me pls.
2. It will "enable builds to train".
3. Teach me pls.

PD: Ty for answer :)
 

Chaosy

Tutorial Reviewer
Level 41
Joined
Jun 9, 2011
Messages
13,241
2.
  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Set count = 1
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Set locations[count] = (Position of (Picked unit))
          • Set count = (count + 1)
      • For each (Integer A) from 1 to (count - 2), do (Actions)
        • Loop - Actions
          • Lightning - Create a Chain Lightning - Primary lightning effect from source locations[(Integer A)] to target locations[((Integer A) + 1)]
 
Level 23
Joined
Apr 8, 2017
Messages
1,604
2.
  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Set count = 1
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Set locations[count] = (Position of (Picked unit))
          • Set count = (count + 1)
      • For each (Integer A) from 1 to (count - 2), do (Actions)
        • Loop - Actions
          • Lightning - Create a Chain Lightning - Primary lightning effect from source locations[(Integer A)] to target locations[((Integer A) + 1)]
Thanks a lot and sorry if im being demanding.

I didnt understand :(

PD: how can i delete these lightnings after it lose the "allow to train"? event most be Unit cast spell.

Thanks a lot and sorry if im being demanding.
 
Status
Not open for further replies.
Top