Ability - Incinerating Orb (Again)

rodge_002

New Member
Reaction score
4
Problem: Any other suggestions?

Hey hey hey... Wait... This isn't the same as last time (Where I'm just asking how to start it), but this time this is about the issue when I'm creating this spell. I looked on frozen orb, and as I have said, the spell doesn't even work like it, except the visual of having an orb casted. They have different stuff to cast you know (Frozen Orb, ice bolts everywhere; Incinerating orb, A spell based on Impale every half a second bursts out of the ball, clock wise direction.)

So far, I made the spell, I made two dummies (One is the actual orb, and one is a caster.)

Code:
Incinerating Orb
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Incinerating Orb 
    Actions
        Set IO_Point = (Target point of ability being cast)
        Set IO_Point2 = (Position of Char)
        Unit - Create 1 The Orb for Player 1 (Red) at ((Position of Char) offset by 200.00 towards (Facing of Char) degrees) facing (Angle from (Position of Char) to IO_Point) degrees
        Set TheOrb = (Last created unit)
        For each (Integer A) from 1 to 720, do (Actions)
            Loop - Actions
                Unit - Order TheOrb to Move To ((Position of TheOrb) offset by 500.00 towards (Angle from IO_Point2 to IO_Point) degrees)

----------------------------------

In this trigger (so far) I told the orb to move continuously to the direction directed by the hero. After this, I want that:

1. Every 0.50 seconds, another trigger (or maybe the same) would create a caster in the position of the orb when the caster was created.
2. Make the last created caster face an angle (I set a variable IO_Interval=1, and then I want it to set the angle of the unit that will be created next by maybe adding 1 every time a caster is created).
3. Make the caster cast a spell based on impale (I only changed the art into Neutral Building explosion to make it seem cooler)
4. And then delete the last created caster.

I am now getting used to GUI (Most of my custom spells are GUI), and so far I can't do this yet. Help Please? :confused:
 

Emu.Man00

New Member
Reaction score
41
OKAY... lets give this a try.

Trigger:
  • Orb Start
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Your_Ability
    • Actions
      • Unit - Add a Y* second Generic expiration timer to (Last created unit)
      • Set Temp_Point = (Target point of ability being cast)
      • Unit - Create 1 The Orb for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Move To (Target point of ability being cast)
      • Set Your_Unit = (Last created unit)
      • Trigger - Add to Orb Cast <gen> the event (Time - Every 0.50 seconds of game time)

Trigger:
  • Orb Cast
    • Events
    • Conditions
    • Actions
      • Unit - Create 1 Dummy for (Owner of Your_Unit) at (Position of Your_Unit) facing Default building facing degrees
      • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Temp_Point offset by 200.00 towards offsetVariable degrees)
      • Set offsetVariable = (offsetVariable + X*)

*You need to do a wee little math now.
let y = # seconds spell is active for
x = degrees offset per cast. I.E. distance between each impale.
360 / y / 0.5 = x

So you must decide how many seconds you want the spell to go for, then sub it in for y.

EDIT: forgot to expire dummy xD
 

rodge_002

New Member
Reaction score
4
Okay. Lemme Try it...

After I eat dinner. :D

Thanks though. After looking through it made sense. New stuff learned! +rep to you.

EDIT: Doesn't work!!!
 

rodge_002

New Member
Reaction score
4
It looks right... But the problem is that the units don't cast the spell.

everything's fine, except that.
 

rodge_002

New Member
Reaction score
4
Doesn't work still...

But is the ability Locust added to the dummy helpful? Does locust somehow prevent the spell from being cast?

Plus, they only cast it when I select them (Which was weird).
 

rodge_002

New Member
Reaction score
4
I know. I removed locust to see what's wrong. And they only cast it when I select them. That's not right... :confused:
 
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