Spell Cast Problem

Mr.Tutorial

Hard in the Paint.
Reaction score
42
Trigger:
  • Enters
    • Events
      • Time - Every 0.40 seconds of game time
    • Conditions
    • Actions
      • Unit - Order Dreadlord 0012 <gen> to Undead Dreadlord - Inferno (Random point in mid <gen>)
      • Unit - Create 1 Circle of Power for Player 12 (Brown) at (Target point of ability being cast) facing (Position of (Target unit of ability being cast))


So what I want to happen is wherever the inferno is being cast is where the circle of power will be until it hits where the circle of power is, then the circle of power goes away, and it does it over again.

PROBLEM: For some reason the circle of powers' aren't even being displayed on the map at all. What's the problem? Thanks.
 

hopy

Active Member
Reaction score
64
Well, first make circle of power a unit with a Circle of Power model.

Trigger:
  • Create a Circle
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Point = (Random point in (Random point in mid <gen>))
      • Unit - Create 1 Circle of Power for Neutral Passive at Point facing Default building facing degrees
      • Set Unit = (Last created unit)

Trigger:
  • Infernals
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Order (Last restored unit) to Undead Dreadlord - Inferno Point
      • Custom script: call RemoveLocation (udg_Point)
      • Unit - Kill Unit
      • Set Point = (Random point in (Random point in mid <gen>))
      • Unit - Create 1 Circle of Power for Neutral Passive at Point facing Default building facing degrees
      • Set Unit = (Last created unit)


Unit is a Unit variable.
Point is a Point Variable.

What it does:
- Create a Circle of Power(Unit) at Point.
- Cast Infernal at Point.
- Kills the Circle of Power.
- Creates a new Circle of Power at a new Point.

Leakless.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
You cannot do it like this...

Both (Target unit of ability being cast) and (Target point of ability being cast) only work if you have one of the ability cast events...

Can't even say I really understand what you're trying to do here :S
 

Mr.Tutorial

Hard in the Paint.
Reaction score
42
@Hopy

Why would you make a unit and use a circle of power modell. Isn't it a unit already?

And there is a problem. The circle of powers are going to fast for the infernals to reach the point.
 

hopy

Active Member
Reaction score
64
Why would you make a unit and use a circle of power modell. Isn't it a unit already?
Yes, you're right. Sorry I forgot about that.

The only option I can think of at the moment would be to increase the periodic timer and add a small wait or something.
 
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