help- dummy unit not casting full duration

Jooster

New Member
Reaction score
7
as the title say's. here's the code

Code:
boss 4 90 hp Copy
    Events
        Unit - A unit Is attacked
    Conditions
        And - All (Conditions) are true
            Conditions
                (Unit-type of (Attacking unit)) Equal to boss_array[4]
                (Life of (Attacking unit)) Less than (((Max life of (Attacking unit)) / 100.00) x 90.00)
    Actions
        Trigger - Turn off (This trigger)
        Set real_random = 0.00
        Set point = (Position of (Attacking unit))
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                Set real_random = (real_random + 36.00)
                Destructible - Create a dead Summer Tree Wall at (point offset by 180.00 towards real_random degrees) facing real_random with scale 1.15 and variation 0
                Destructible - Resurrect (Last created destructible) with (Max life of (Last created destructible)) life and Show birth animation
                Unit - Create 1 dummy tree for Neutral Hostile at (point offset by 230.00 towards real_random degrees) facing real_random degrees
                Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Move To (point offset by 700.00 towards real_random degrees)
        Custom script:   call RemoveLocation (udg_point)
        Wait 4.00 seconds
        Set unit_group = (Units of type dummy tree)
        Unit Group - Pick every unit in unit_group and do (Actions)
            Loop - Actions
                Unit - Order (Picked unit) to Night Elf Keeper Of The Grove - Tranquility
        Custom script:   call DestroyGroup (udg_unit_group)
        Wait 15.00 seconds
        Destructible - Pick every destructible in boss 1 <gen> and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Destructible-type of (Picked destructible)) Equal to Summer Tree Wall
                    Then - Actions
                        Destructible - Remove (Picked destructible)
                    Else - Actions

the dummy unit has a custom tranquility, all duration in the ability is set to well over 60 seconds which is the generic life duration of the tree dummy. but when they are told to cast, they cast it. but only for 8 seconds or so and not the full 60 second duration.
 

vypur85

Hibernate
Reaction score
803
Neutral Hostile tend to be stubborn at times and like to do their own stuff without your consent :p. They're controlled by the computer AI. So probably they are ordered to do some other things before the designated casting duration ends.
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
Do they have locust, invul and no attack at all?
 

Jooster

New Member
Reaction score
7
no they dont have any other abilities. just tranquility. the reason for that is they heal a boss and in order for the boss to not get to full health is to kill them before so...
 

Beetlebomb

New Member
Reaction score
43
So they are visible dummies?

If you're not using a full game, could you always just set the dummy to player brown and ally him with the boss if there's a neutral hostile problem.

gl,

Beetlebomb ^^
 

Jooster

New Member
Reaction score
7
it's a full game 6v6 style. im also having this same sort of problems telling a dummy unit to cast chain lighting

Neutral Hostile tend to be stubborn at times and like to do their own stuff without your consent :p. They're controlled by the computer AI. So probably they are ordered to do some other things before the designated casting duration ends.


how exactly would i go about turning that AI off, or is it possible to do so?
 

Beetlebomb

New Member
Reaction score
43
I don't believe it's possible to turn that AI off. It's built into Warcraft 3(hardwired). Dummies tend to do those sort of things. I'm sorry I can't be of more help because my knowledge of dummies is not quite far from yours.

I'd suggest fiddling around with it. I can usually get it to work by doing that.

Good luck,

Beetlebomb
 

Light Alkmst

New Member
Reaction score
20
Pausing a unit makes it take no further orders. Try ordering the dummy unit to cast tranquility or chain lightning and immediately pausing it with a trigger.
 

Jooster

New Member
Reaction score
7
so, by ordering it to cast then pausing it wont interupt the tranquility already casting? i will try that and edit my post once im done.

*edit* no pausing them did just what i would suspected it to do. they just stood their paused =P
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top