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.
 
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.
 
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
 
@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.
 
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 The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      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