Justice, Discsusion Boards
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Justice, Discsusion Boards

Elite Gaming Community
 
HomeLatest imagesSearchRegisterLog in

 

 Footman Surround Spell, for Domo

Go down 
2 posters
AuthorMessage
Weyrling
V.I.Mapper
Weyrling


Posts : 29
Join date : 2008-03-23

Footman Surround Spell, for Domo Empty
PostSubject: Footman Surround Spell, for Domo   Footman Surround Spell, for Domo Icon_minitimeSat 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
Domo
Dust And Gravel
Domo


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

Footman Surround Spell, for Domo Empty
PostSubject: Re: Footman Surround Spell, for Domo   Footman Surround Spell, for Domo Icon_minitimeSat 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
http://www.myspace.com/garrettm14
 
Footman Surround Spell, for Domo
Back to top 
Page 1 of 1

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