[Request] Line Unit Spawn

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
Masterstitch
Senior Member
Posts: 173
Joined: December 14th, 2007, 9:56 am
Title: Naruto Addict

[Request] Line Unit Spawn

Post by Masterstitch »

im trying to make a spell that is like Shockwave but instead of dealing damage it creates multiple units in a line going outward from the caster in the direction of where the spell was cast

what i need is the trigger to create the units but i want the units to be 100 distance apart from each other and it has to create units in a line of 1200 distance and that's it please help
IDK
Newcomer
Posts: 5
Joined: March 8th, 2008, 7:59 am

Re: [Request] Line Unit Spawn

Post by IDK »

Well, this is was I came up with in a few minutes, I will perfect it later, but this seems to near time and distance.
You do not have the required permissions to view the files attached to this post.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: [Request] Line Unit Spawn

Post by Arabidnun »

IDK....you trigger hurt me inside...It really did

So, here is my version of the map:
Spoiler:

Code: Select all

Shockwave
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Shockwave 
    Actions
        Set Real[(Player number of (Owner of (Casting unit)))] = 175.00
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                Unit - Create 1 Footman for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by Real[(Player number of (Owner of (Casting unit)))] towards (Angle from (Position of (Casting unit)) to (Target point of ability being cast)) degrees) facing (Facing of (Casting unit)) degrees
                Wait 0.01 seconds
                Set Real[(Player number of (Owner of (Casting unit)))] = (Real[(Player number of (Owner of (Casting unit)))] + 100.00)
This should be MUI, as in multiple heros can use it at the same dam time...if they aren't the same triggering play heros...
Well...here yah go
Shockwave Trigger.w3x
You do not have the required permissions to view the files attached to this post.
User avatar
Masterstitch
Senior Member
Posts: 173
Joined: December 14th, 2007, 9:56 am
Title: Naruto Addict

Re: [Request] Line Unit Spawn

Post by Masterstitch »

YOU ARE A FREAKIN GOD MAN THANKS SOOOOOO MUCH!!!!!!!1 :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: [Request] Line Unit Spawn

Post by Arabidnun »

It's in my job description.

I've been busy latley so haven't been on.
User avatar
Masterstitch
Senior Member
Posts: 173
Joined: December 14th, 2007, 9:56 am
Title: Naruto Addict

Re: [Request] Line Unit Spawn

Post by Masterstitch »

i tried out the trigger but i learned something from it i used it and the units work for like 4 or 5 of them but then they start spawning like 250 distance to the left of the original line so im asking WTF IS GOING ON HERE?????? sorry for the yelling but im losing my mind here
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: [Request] Line Unit Spawn

Post by Arabidnun »

did you change the spell?