[Andrewgosus problem section]

D

Dino.pl

Guest
> if I change Text - order string - turn off for immolation, I have to change the order string in the trigger too?
> Omg, why don't you test it yourself before posting?
> I did!
Hm... :)
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Something about auras.

When a unit is influenced by an aura, can I use the condition target unit of ability being cast? :confused:

Or what condition do I have to use to make my aura influences only one type of unit?
 

Kershbob

New Member
Reaction score
30
If you mean one unit-type I'd think you'd need a periodic event that removes buffs maybe?

That might not work though.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Hmmm.

Code:
SetAuraLevel
    Events
        Map initialization
    Conditions
    Actions
        Set AuraLevelVariable = (Level of Brilliance Aura  for (Triggering unit))

Edited the condition a bit.

Code:
Negative Aura
    Events
        Time - Every 1.00 seconds of game time
    Conditions
        [B](Ability being cast) Equal to Brilliance Aura[/B] 
        AuraLevelVariable Equal to 1
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                [B](Race of (Target unit of ability being cast)) Equal to Human[/B]
            Then - Actions
            Else - Actions

Doesnt seem right...nor is it working.
 

Mullit

New Member
Reaction score
51
if its an aura then there is no specific target.

you'd need to pick units inside range of aura around the casting unit and then use 'picked unit'.
 

Mullit

New Member
Reaction score
51
E - unit comes within range of <your unit>

then use conditions or an 'if' to see if he has the aura active
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Ok ill try that.

Little offtopic.

I was wondering, what for you need to use:

Code:
Actions
    For each (Integer A) from 1 to 10, do (Actions)
        Loop - Actions
and
Code:
Actions
    For each (Integer B) from 1 to 10, do (Actions)
        Loop - Actions
 
D

Dino.pl

Guest
Under integers you have Integer A and Integer B. If you use a loop with Integer B, you can use Integer B, if you usea loop with Integer A, you can use Integer A...
This allows you to put a loop inside a loop.
 
D

Dino.pl

Guest
Whaat?!

EDIT: I don't remember what it supposed to mean.
Propably posted in wrong thread...
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
You see, I have this spell which I downloaded from wcsear.ch for fun. It uses the integer A, but I dont know what for.

Code:
For each (Integer A) from 1 to 18, do (Actions)
    Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Tidal_Level Equal to 1
            Then - Actions
                Unit - Create 1 Tidal Caster for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                Unit - Set level of Wave  for (Last created unit) to Tidal_Level
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ((Position of (Triggering unit)) offset by 100.00 towards Point_Of_Wave degrees)
                Set Point_Of_Wave = (Point_Of_Wave + 25.00)
            Else - Actions
                Do nothing
 
D

Dino.pl

Guest
It executes the code inside 18 times.
But also it leaks a lot of memory...
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Yea, I noticed that. Just wondered what for the interger A and B are for. Thanks.
 

Sooda

Diversity enchants
Reaction score
318
Did you understanded then how variables A and B works ? I know how they work and I' m using them usualy :)
For each variable from 1 to 12 do actions creat one peon for player(integer A) at centre of map. Now this action is runed 12 times and every time Integer A changes to number of runned times. like that you can creat one peon to every player and integer a represents player number. Integer a can be used many different ways one was such. Coolest thing is that integer A (Or B how you like) is like set number[1]= 1; number[2]= 2;number[3]= 3; ... ; until 1 to 12 but you never have to set them ! They just update themselves with each runned time. I hope my messy expanation was understandable ( Sry for my crapy english)
 
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