HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do I make this kind of skill?

10-06-2004, 04:42 PM#1
unyx
I want to have some units OR doodads surrounding the targeted unit to block them.

This has been done in DotA by the Prophet's Sprout ability whereby 5 trees are sprouted surrounding the target.

I'm not sure on how to position the units/doodads surrounding the target. That's my main problem, can someone help out? Thanks :)
10-06-2004, 05:37 PM#2
Dead-Inside
Look around or ask for it in a "I'll create your spells" thread. It's above your head if you don't even know where to start.
10-06-2004, 06:27 PM#3
oNdizZ
If you haven't solved your problem yet, you can always try this...

Code:
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        (Ability being cast) Equal to Animate Dead
    Actions
        Set Temp_Tree_Angle = 0.00
        For each (Integer A) from 1 to 20, do (Actions)
            Loop - Actions
                Destructible - Create a Summer Tree Wall at ((Target point of ability being cast) offset by 150.00 towards 0.00 degrees) facing Temp_Tree_Angle with scale 1.00 and variation 0
                Set Temp_Tree[(Integer A)] = (Last created destructible)
                Set Temp_Tree_Angle = (Temp_Tree_Angle + 18.00)
                Wait 0.05 seconds
        Wait 10.00 seconds
        For each (Integer B) from 1 to 20, do (Actions)
            Loop - Actions
                Destructible - Kill Temp_Tree[(Integer B)]
                Wait 0.05 seconds
                Set Temp_Tree[(Integer B)] = No destructible

that would work, now, this will only work for 1 player (it can't be used by more than 1 unit at the time) couse i haven't added any array to the stuff that needs it. i just dont got the time right now :/
anyway, hope this will help a little bit.
10-06-2004, 08:47 PM#4
oNdizZ
the thing your looking for is called "Point with Polar Offset"
dont got the time to help you now, but you will probebly figure it out...
10-07-2004, 03:19 PM#5
oNdizZ
Well thx for the rep point. but for fuck sake! if you think it's nice, give a GREEN, GOOD rep point.

got 3 bad ones with things like: Thanks, that really helped me out!
10-07-2004, 03:32 PM#6
Dead-Inside
I don't get any rep points (Good or bad), doesn't matter if I helped or not.
10-08-2004, 05:48 AM#7
WTFish
Code:
Events
    Unit - A unit Starts the effect of an ability

Conditions
    (Ability being cast) Equal to Doodad create thing

Actions

        For each (Integer B) from 1 to (number of doodads u want), do (Actions)
        Loop - Actions
            Destructible - Create a (ur destructable)l at ((Position of (Target unit of ability being cast)) offset by (number, in dota it's 130) towards ((Real((Integer B))) x 45.00) degrees) facing (Random angle) with scale 1.00 and variation 0
            Set Created doodad[(Integer B)] = (Last created destructible)
    Wait (2.00 + (Real((Level of doodad create thing  for (Triggering unit))))) seconds
    For each (Integer A) from 1 to 8, do (Actions)
        Loop - Actions
            Destructible - Kill created doodad[(Integer A)]
    Wait 4.00 seconds
    For each (Integer A) from 1 to 8, do (Actions)
        Loop - Actions
            Destructible - Remove created doodad[(Integer A)]

At least that is how it was done in dota, that is how Guinsoo created sprout...
10-09-2004, 12:23 AM#8
BuRnInSpartan
they realeased a dota unprtoected which is a version of the latest all stars but i don't know if it's right to take the stuff b/c i think their clan got out of controll and several members realeased the unprotected without permision so if i get the heads up i'll post it
10-09-2004, 12:43 AM#9
-={tWiStÄr}=-
wait.. are you trying to tell me that most DOTAs are officialy made.. i thought that one got out and all DOTA hell broke lose..