target locust

kaboo

New Member
Reaction score
45
is it possible to target unit that has locust ability with a trigger? i mean ordering another unit to cast spell on it
 

Tru_Power22

You can change this now in User CP.
Reaction score
144
If it is an AoE spell, or can target the ground, yes. You can target the location of the unit but not the unit it's self.
 

kaboo

New Member
Reaction score
45
Trigger:
  • vulner efect
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Unit - Create 1 dummy for Player 12 (Brown) at ((Position of Demonic Gate (Vertical) 1659 <gen>) offset by 600.00 towards 180.00 degrees) facing Default building facing degrees
      • Unit - Add vulnerability effect to (Last created unit)
      • Set vulnerability_effect_caster = (Last created unit)
      • Unit - Create 1 dummy w/o locust for Player 1 (Red) at ((Position of Demonic Gate (Vertical) 1659 <gen>) offset by 10.00 towards 180.00 degrees) facing Default building facing degrees
      • Unit - Order vulnerability_effect_caster to Human Mountain King - Storm Bolt (Last created unit)


any ideas why does this not work?
 

vypur85

Hibernate
Reaction score
803
Here are few apparent reasons:
1. Dummy no mana.
2. Ability problem (range, targets allowed etc)
3. Stubborn computer player (I have no solution for this...yet, try changing the Player 12 to Player 1 and see if it casts.)
 

kaboo

New Member
Reaction score
45
the spell is based on storm bolst just changed cooldown, duratio, damage, mana cost, range and missile art

1. dummy has 999999999 max and intial mana
also mana cost of the spell is 0 :p
2. range is set to 99999, targets allowed normal (and with those it is able to target ground enemy)
3. ROFL :D , but it helped


omfg, this is crazy, i just changed the event and its not working again ....
Trigger:
  • door vulnerable effect
    • Events
      • Unit - Power Generator 0005 <gen> Dies
    • Conditions
    • Actions
      • Unit - Create 1 dummy for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
      • Unit - Add vulnerability effect to (Last created unit)
      • Set vulnerability_effect_caster = (Last created unit)
      • Unit - Create 1 dummy w/o locust for Player 12 (Brown) at ((Position of Demonic Gate (Horizontal) 2044 <gen>) offset by 1.00 towards 270.00 degrees) facing (Random angle) degrees
      • Unit - Order vulnerability_effect_caster to Human Mountain King - Storm Bolt (Last created unit)

power generator 005 is structure
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
is it possible to target unit that has locust ability with a trigger? i mean ordering another unit to cast spell on it
No, but you can temporarily remove Locust:
Trigger:
  • [...]
    • Custom script: call UnitRemoveAbility(bj_lastCreatedUnit, 'Aloc')
    • Unit - Order vulnerability_effect_caster to Human Mountain King - Storm Bolt (Last created unit)
    • Custom script: call UnitAddAbility(bj_lastCreatedUnit, 'Aloc')
 
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