• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Reapet thingy

Status
Not open for further replies.
Level 6
Joined
Dec 7, 2004
Messages
137
Why dos this not work..
I have now tried to do almost everything to it and it just wont work..

Code:
Al
    Events
        Unit - A unit Begins casting an ability
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Transmute Spikes (Al)
            Then - Actions
                Wait 0.25 seconds
                Set Al = (Casting unit)
                Set Real = 1.00
                For each (Integer A) from 1 to 6, do (Actions)
                    Loop - Actions
                        Set Loc1 = ((Position of Al) offset by 50.00 towards Real degrees)
                        Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at Loc1 facing Real degrees
                        Unit - Add Impale (al) to (Last created unit)
                        Unit - Set Level of Impale (al) for (Last created unit) to (Level of Transmute Spikes (Al) for Al)
                        Set Loc2 = ((Position of (Last created unit)) offset by 100.00 towards Real degrees)
                        Unit - Order (Last created unit) to Undead Crypt Lord - Impale Loc2
                        Set Real = (Real + 60.00)
                        Custom script: call RemoveLocation( udg_Loc1 ) 
                        Custom script: call RemoveLocation( udg_Loc2 ) 
                Set Real = 0.00
            Else - Actions

I'm getting so annoying cause i can not find any faults with it :(
 
Status
Not open for further replies.
Top