Spell Problem, Shape gets wrong?

95blojoe

New Member
Reaction score
7
Trigger:
  • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Strik Force
    • Actions
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • Set Angle = ((Position of (Casting unit)) offset by (50.00 x (Real((Integer A)))) towards (Degrees(0.00)) degrees)
          • Set Point = ((Position of (Casting unit)) offset by (50.00 x (Real((Integer A)))) towards (Degrees(90.00)) degrees)
          • Set Temp_point2 = ((Position of (Casting unit)) offset by (50.00 x (Real((Integer A)))) towards (Degrees(180.00)) degrees)
          • Set Location_triggeringunit = ((Position of (Casting unit)) offset by (50.00 x (Real((Integer A)))) towards (Degrees(270.00)) degrees)
          • Set Temp_Point = ((Position of (Casting unit)) offset by (50.00 x (Real((Integer A)))) towards (Degrees(360.00)) degrees)
          • Unit - Create 1 Dummy for Player 1 (Red) at Location_triggeringunit facing Default building facing degrees
          • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
          • Unit - Remove (Last created unit) from the game
          • Unit - Create 1 Dummy for Player 1 (Red) at Temp_Point facing Default building facing degrees
          • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
          • Unit - Remove (Last created unit) from the game
          • Unit - Create 1 Dummy for Player 1 (Red) at Temp_point2 facing Default building facing degrees
          • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
          • Unit - Remove (Last created unit) from the game
          • Unit - Create 1 Dummy for Player 1 (Red) at Point facing Default building facing degrees
          • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
          • Unit - Remove (Last created unit) from the game
          • Unit - Create 1 Dummy for Player 1 (Red) at Angle facing Default building facing degrees
          • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
          • Unit - Remove (Last created unit) from the game
          • Custom script: call RemoveLocation(udg_Temp_Point)

I don't understund, the degrees should make the shape like :
+ or x but insteed it becomes and Y OO or a upside down peacemark if i change 0 degrees till 1
 

hopy

Active Member
Reaction score
64
Code:
Ring Of Flame Copy
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to [Your ability]
    Actions
        Set Caster_point = (Position of (Triggering unit))
        Special Effect - Create a special effect at Caster_Point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
        Set Special_Effect = (Last created special effect)
        Special Effect - Destroy Special_Effect
        For each (Integer B) from 1 to 10, do (Actions)
            Loop - Actions
                For each (Integer A) from 1 to 4, do (Actions)
                    Loop - Actions
                        Set Blah_Point = (Caster_point offset by (50.00xIntreger B) towards (90.00 x (Real((Integer A)))) degrees)
                        Special Effect - Create a special effect at Blah_Point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
                        Set Special_Effect = (Last created special effect)
                        Special Effect - Destroy Special_Effect
                        Custom script:   call RemoveLocation (udg_Blah_Point)
        Custom script:   call RemoveLocation (udg_Caster_point)

I hope this gives the effect you ment to get
[your ability] should be based on War Stomp, Thunder Clap, Fan of Knifes or a simular ability
Blah_point is an Point variable
Caster_Point is a Point variable
Special_Effect is a Special Effect variable

EDIT -> I have read your trigger again and updated mine and I think its exactly what you wanted this time
 

95blojoe

New Member
Reaction score
7
Code:
Ring Of Flame Copy
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to [Your ability]
    Actions
        Set Caster_point = (Position of (Triggering unit))
        For each (Integer A) from 1 to 4, do (Actions)
            Loop - Actions
                Set Blah_Point = (Caster_point offset by (200.00 + ((Real((Level of[your ability] for (Triggering unit)))) x 20.00)) towards (90.00 x (Real((Integer A)))) degrees)
                Special Effect - Create a special effect at Blah_Point using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
                Set Special_Effect = (Last created special effect)
                Special Effect - Destroy Special_Effect
                Custom script:   call RemoveLocation (udg_Blah_Point)
        Custom script:   call RemoveLocation (udg_Caster_point)

I hope this gives the effect you ment to get
[your ability] should be based on War Stomp, Thunder Clap, Fan of Knifes or a simular ability
Blah_point is an Point variable
Caster_Point is a Point variable
Special_Effect is a Special Effect variable

This trigger makes a Fire Pillar special effect on 4 places around your hero in a + shape once

If this is not what you were looking for please explain exactly what your trying to make

What i am foing right now is Lines or fire strike in a Crusifix, like the shape "+" .
 

hopy

Active Member
Reaction score
64
Yes I noticed that to late xD

I Edited my post and Trigger ... i think its what your looking for now
Havnt tested it yet though

--> Testing it right now ... but I have a crap PC so it takes a while to load xD
 

95blojoe

New Member
Reaction score
7
Yes I noticed that to late xD

I Edited my post and Trigger ... i think its what your looking for now
Havnt tested it yet though

--> Testing it right now ... but I have a crap PC so it takes a while to load xD

Doesn't work it just creates a big F***ing flame at the caster xD
 

hopy

Active Member
Reaction score
64
Rofl xD Im loading atm ... it will take a bit longer but I will copie/Past my Trigger here if it works ...
 

hopy

Active Member
Reaction score
64
Alright ... I made some changes and came with this:
It does work and is MUI (I think)

I tried it with Special Effects instead of Dummy units (Like you in your first Trigger) But it didnt work ...
So I just made it with Dummy Units :D

Code:
Ring Of Flame Copy Copy
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to [your ability]
    Actions
        Set Caster_Point = (Position of (Triggering unit))
        Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Caster_Point facing Default building facing degrees
        Unit - Add [Your ability][Dummy] to (Last created unit)
        Unit - Order (Last created unit) to Undead Dreadlord - Inferno Caster_Point
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        For each (Integer B) from 1 to 10, do (Actions)
            Loop - Actions
                For each (Integer A) from 1 to 4, do (Actions)
                    Loop - Actions
                        Set Blah_Point = (Caster_Point offset by (50.00 x (Real((Integer B)))) towards (90.00 x (Real((Integer A)))) degrees)
                        Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Blah_Point facing Default building facing degrees
                        Unit - Add [Your ability][Dummy] to (Last created unit)
                        Unit - Order (Last created unit) to Undead Dreadlord - Inferno Blah_Point
                        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
                        Custom script:   call RemoveLocation (udg_Blah_Point)
        Custom script:   call RemoveLocation (udg_Caster_Point)
Once again:
[your ability] should be based on War Stomp, Thunder Clap, Fan of Knifes or a simular ability
Blah_point is an Point variable
Caster_Point is a Point variable
Special_Effect is a Special Effect variable
The Dummy unit is an Invisible unit with Locust
And [Your ability][Dummy] is an ability based on Infernal and doesnt summon annything and the meteor effect is replaced by a Flame strike etc etc
((Ofc you can use something else than Infernal but I have a simular ability and I had to use Infernal for it so I used that same ability this time cause it would save me some time xD))

I hope you know how Dummy Units work?
 

95blojoe

New Member
Reaction score
7
Alright ... I made some changes and came with this:
It does work and is MUI (I think)

I tried it with Special Effects instead of Dummy units (Like you in your first Trigger) But it didnt work ...
So I just made it with Dummy Units :D

Code:
Ring Of Flame Copy Copy
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to [your ability]
    Actions
        Set Caster_Point = (Position of (Triggering unit))
        Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Caster_Point facing Default building facing degrees
        Unit - Add [Your ability][Dummy] to (Last created unit)
        Unit - Order (Last created unit) to Undead Dreadlord - Inferno Caster_Point
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        For each (Integer B) from 1 to 10, do (Actions)
            Loop - Actions
                For each (Integer A) from 1 to 4, do (Actions)
                    Loop - Actions
                        Set Blah_Point = (Caster_Point offset by (50.00 x (Real((Integer B)))) towards (90.00 x (Real((Integer A)))) degrees)
                        Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Blah_Point facing Default building facing degrees
                        Unit - Add [Your ability][Dummy] to (Last created unit)
                        Unit - Order (Last created unit) to Undead Dreadlord - Inferno Blah_Point
                        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
                        Custom script:   call RemoveLocation (udg_Blah_Point)
        Custom script:   call RemoveLocation (udg_Caster_Point)
Once again:
[your ability] should be based on War Stomp, Thunder Clap, Fan of Knifes or a simular ability
Blah_point is an Point variable
Caster_Point is a Point variable
Special_Effect is a Special Effect variable
The Dummy unit is an Invisible unit with Locust
And [Your ability][Dummy] is an ability based on Infernal and doesnt summon annything and the meteor effect is replaced by a Flame strike etc etc
((Ofc you can use something else than Infernal but I have a simular ability and I had to use Infernal for it so I used that same ability this time cause it would save me some time xD))

I hope you know how Dummy Units work?

Does not work xD
 

hopy

Active Member
Reaction score
64
lol? Thats strange xd It does for me...
Just tested it and it should work ... please post your trigger here so I can see if you had everything ok ...

And Im back ...

Still need help?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?

      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