Trigger: Use spell and create unit when in region

Solu9

You can change this now in User CP.
Reaction score
216
SOLVED

The title is a bit confusing.

I want to create a Circle of Power when an ability is being used in a specific region.
Here is the trigger, which of course is not working.

Trigger:
  • Obelisk active 1
    • Events
      • Unit - A unit owned by Player 12 (Brown) Begins casting an ability
    • Conditions
      • ((Ability being cast) Equal to Search ) and ((Number of units in (Units in Obelisk active 1 <gen>)) Equal to 1)
    • Actions
      • Unit - Create 1 Circle of Power (large) for Neutral Passive at (Center of TEST 01 <gen>) facing Default building facing degrees


Search is based on the ability "Battle Roar" which duration has been reduced to 0.01sec and cooldown to 5sec.
What seems to be the problem?
 

Dirac

22710180
Reaction score
147
The trigger only fires if a unit of player 12 casts the spell, Are you player 12?
 

Solu9

You can change this now in User CP.
Reaction score
216
There is exactly 1 unit in the region. But Ill try with greater than or equal to.

Edit: You know... there were actually a building in the region. Didn't count it as a unit, but hey, the game does :) And it works now. Thanks!
 

TomTTT

New Member
Reaction score
44
Only 1 unit in that rect? Only 1?
Try Greater than or equal to 1.
Really just gotta find anything bad? Say "if you want more than 1 unit in that rect use Greather than or equal to". This isn't some sorta competition who gets to tell his what to do.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top