Justice, Discsusion Boards

Elite Gaming Community
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Footman Surround Spell, for Domo

Go down 
AuthorMessage
Weyrling
V.I.Mapper
avatar

Posts : 29
Join date : 2008-03-23

PostSubject: Footman Surround Spell, for Domo   Sat May 03, 2008 3:38 pm

Requires 2 point variables, APoint, and Apoint. Caps are essential btw.
Code:
Surround
Events
    Unit - A unit Starts the effect of an ability
Conditions
    (Ability being cast) Equal to YOUR_SPELL_HERE
Actions
    Set APoint = (Target point of ability being cast)
    For each (Integer A) from 1 to 5, do (Actions)
        Loop - Actions
            Custom script:  call RemoveLocation(udg_Apoint)
            Set Apoint = (APoint offset by 256.00 towards (360.00 / (Real((Integer A)))) degrees)
            Unit - Create 1 Footman for (Owner of (Triggering unit)) at Apoint facing (Angle from Apoint to APoint) degrees
            Unit - Make (Last created unit) Invulnerable
            Unit - Order (Last created unit) to Attack (Target unit of ability being cast)
    Custom script:  call RemoveLocation(udg_APoint)
Back to top Go down
View user profile
Domo
Dust And Gravel
avatar

Posts : 9
Join date : 2008-05-03
Age : 25
Location : Domo = In Japan.

PostSubject: Re: Footman Surround Spell, for Domo   Sat May 03, 2008 3:48 pm

Ty weyr. It seems really confusing to me though, since I don't understand alot of the Apoint and what not due to my limited WE skills. But ty.
Back to top Go down
View user profile http://www.myspace.com/garrettm14
 
Footman Surround Spell, for Domo
Back to top 
Page 1 of 1
 Similar topics
-
» Spell Choice help
» GAAAA!!
» Semi Spell Zone

Permissions in this forum:You cannot reply to topics in this forum
Justice, Discsusion Boards :: Warcraft III :: World Editor-
Jump to: