A Few TD Questions...

WrathMonkey

New Member
Reaction score
5
I have a tower (modeled on the Hawk) that I want to use Chain-Lightning as it's attack. I have a trigger for it:

Chain Lightning
Events
Unit - A unit owned by Player 12 (Brown) Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Seraphim
Actions
Unit Group - Order (Units of type Seraphim) to Orc Far Seer - Chain Lightning (Attacked unit)


But I'm afraid that it doesn't work. Any idea what may be wrong?

========

Another question I have is I have a Hero Tavern, basically, for builders. The builders, when chosen, spawn next to the Hero Tavern, and not at the players' respective spawnpoints. I would like them to spawn at the players' respective spawnpoints so that they know where to build. Any idea how to do this?
 

Don

Rise with the Fallens!
Reaction score
52
1- change (in the action) the unit type seraphin to ''triggering unit''

2- A unit enter **your tavern region** order entering unit to move (instantly) at player owner of entering unit's start location.

PS, put your trigger in ''[code*][/code]'' (ermove the *)
 

WrathMonkey

New Member
Reaction score
5
:\ I had a problem with the Seraphim again... it still isn't casting Chain Lightning as its attack. In fact, it's still not casting it at all. :\
 

Don

Rise with the Fallens!
Reaction score
52
In fact, your attacked unit may be dead, so chances that you strike it are small...

The way to do it is to pick a unit within X range of the attacking unit and order hawk to far seer chain lightning picked unit, try that!
 

Don

Rise with the Fallens!
Reaction score
52
No event change, try this trigger:

Code:
LOL
    Events
        Unit - A unit owned by Player 12 (Brown) Is attacked
    Conditions
        (Unit-type of (Attacking unit)) Equal to Footman
    Actions
        Unit Group - Pick every unit in (Units within 700.00 of (Position of (Attacking unit))) and do (Actions)
            Loop - Actions
                Unit Group - Pick every unit in (Random 1 units from Your_group) and do (Actions)
                    Loop - Actions
                        Unit - Order (Attacking unit) to Orc Far Seer - Chain Lightning (Picked unit)
                Unit Group - Remove (Picked unit) from Your_group

your_group = variable ''unit-group''
change footman to hawk
 

WrathMonkey

New Member
Reaction score
5
How am I supposed to make the variable Your_group equal the Seraphim?

EDIT: I realize I can make it any possible Seraphim, but how will I make it the specific attacking Seraphim?
 

FireBladesX

Eating my wings!
Reaction score
123
You do exactly as he says, except do:

Set Variable: Set Your_Group equal to (Units in 700 radius of (position of Attacked Unit) matching (Unit is an enemy of (Attacking Unit) equal to True))

before you pick random N units from unit group.

Sorry for the sloppiness, I don't have WE up.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top