HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Minion Control.... Again

07-23-2005, 04:16 AM#1
xXx-Tricky-xXx
Ok, im back but with alot lower expectations :P

But one thing that i cant make simpler or rule out is the way you control a minion or more than one minion. I have dummy spells for Engage and Disengage and the triggers are simple sofar.

Code:
Bone Collector Engage
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Engage 
    Actions
        Unit Group - Order (Units of type Skeletal Orc) to Attack (Target unit of ability being cast)

Code:
Bone Collector Disengage
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Disengage 
    Actions
        Unit Group - Order (Units of type Skeletal Orc) to Follow (Triggering unit)


My problem is for disengage, they follow the hero right, well they follow but not close enough. I need them to follow relitevly close. Like side by side, almost. I have been testing all sorts of ways to do this but nothing works. One thing i thought about is when u click disengage they follow but it keeps ordering then to follow over and over every like .5 seconds until u tell them to engage. Because i noticed the more i click disengage the closer they get to me.
07-23-2005, 04:38 AM#2
EdwardSwolenToe
Look in the gameplay constants. Something like follow range. Fiddle with that.
07-23-2005, 05:32 AM#3
xXx-Tricky-xXx
oh cool thanks a lot it works lol

that is what i need but is there a way to set that for certain units or a player or just everyone?
07-23-2005, 07:25 AM#4
xXx-Tricky-xXx
im making a spell also that slows an enemy but its a real...

Code:
Bone Collector Slow
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to TEST (Neutral Hostile)
    Actions
        Unit - Set (Target unit of ability being cast) movement speed to (4.00 / (Real((Level of TEST (Neutral Hostile) for (Triggering unit)))))

Problem is i cant make the unit slow enough. Is there a low movemet speed limit? Because i need tomake him REAL slow.
07-23-2005, 07:45 AM#5
xXx-Tricky-xXx
:P nvm constants once again
07-23-2005, 10:20 AM#6
EdwardSwolenToe
The edit post button is your friend :)