• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Please ANy one help me....

Status
Not open for further replies.
Level 5
Joined
Jun 22, 2004
Messages
109
hey guys i need help wit my mass entangling roots spell 2 things...how do i make it so that the entangling roots deal X damage over X time?, and i have created my trigger already...it works except for one thing, when all units are paused, they never unpause in the time given...heres my trgger please help me out, tell me what i should add/take away.
(mass entangle 1)
A unit begins casting an ability
Ability being cast equal to entangleing roots

Reagion centre entangle fx gen on target point of ability being cast.

(Mass entangle 2)
A unit begins casting an ability
Ability being cast equal to entangleing roots

Unit - Create 1 Entangle FX for (Owner of (Casting unit)) at ((Center of Entangle fx <gen>) offset by 50.00 towards 45.00 degrees) facing Default building facing degrees

[i have that 5 times with different angles each time]

(mass entangle 3)

A unit begins casting an ability
Ability being cast equal to entangleing roots

Unit - Pause (Target unit of ability being cast)

(Mass Entangle 4)

A unit begins casting an ability
Ability being cast equal to entangleing roots

Unit Group - Add all units of (Units within 512.00 of (Target point of ability being cast)) to EntangledUnits
Wait 15.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(All units of EntangledUnits are in movement speed <gen>) Equal to True
Then - Actions
Unit Group - Pick every unit in EntangledUnits and do (Unit - Unpause all units)
Else - Actions
Do nothing

(mass entangle 5)

Unit - A unit enters movement speed <gen>
(Unit-type of (Entering unit)) Equal to Entangle FX

wait 2.00 seconds

Unit - Remove (Entering unit) from the game

plz help me with that some one
Thx
 
Level 7
Joined
Mar 26, 2004
Messages
350
why do u create 5 different triggers for this? u could do all in one.

Code:
event - A unit begins casting an ability
condition - Ability being cast equal to "your ability"
action - Reagion centre entangle fx gen on target point of ability being cast
Unit - Pause (Target unit of ability being cast)
for each integer a from 1 to 5 do
  loop action - Unit - Create 1 Entangle FX for (Owner of (Casting unit)) at ((Center of Entangle fx <gen>) offset by 50.00 towards integer a * x degrees)  facing Default building facing degrees
        add a x sec. standart expiration timer to last created unit
Wait 15.00 seconds 
Unit - unpause (Target unit of ability being cast) (maybe u have to use an unit - variable instead of "Target unit of ability being cast"; i haven't tested it)
 
Level 5
Joined
Jun 22, 2004
Messages
109
yeah it doesnt work

yea thx for that trigger...but they still dunt unpause even if i use variable, can some one test it out and gimme the unpause trigger?
pllllllzzzzzzzzzzz
 
Status
Not open for further replies.
Top