• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Boss

Status
Not open for further replies.
Level 4
Joined
Feb 27, 2008
Messages
71
Is this Possible? If i have 1 Boss so are invulnerable and have 10000 hp and have
4 slave so are not invulnerable And if 1 Slave die The boss lost 2500 hp
and i wanna Have Life drain so not take Damge and have 99999 second cost 0 mana or somethings so we know where the slave if you under stand
Here is a Picture and plz if this is possible plz send in trigger or a map (want most map :grin: )
 

Attachments

  • Boss.jpg
    Boss.jpg
    92.4 KB · Views: 132
Level 11
Joined
Apr 6, 2008
Messages
760
Quite easy to make the first one

  • Trigger
    • Events
      • Unit - A Unit Dies
    • Conditions
      • (Unit-type of (Triggering Unit)) Equal to "SLAVE"
    • Actions
      • Unit - Set life of "BOSS" to ((Life of "BOSS") - 2500)
the second one

  • Trigger
  • Events
    • "Your event"
  • Conditions
  • Actions
    • Lightning - Create a Drain Life lightning effect from source (Position of ("SLAVE1")) to target (Position of ("BOSS"))
    • Set Lighting[1] = Last Created Ligthing
    • Lightning - Create a Drain Life lightning effect from source (Position of ("SLAVE2")) to target (Position of ("BOSS"))
    • Set Lighting[2] = Last Created Ligthing
    • Lightning - Create a Drain Life lightning effect from source (Position of ("SLAVE3")) to target (Position of ("BOSS"))
    • Set Lighting[3] = Last Created Ligthing
    • Lightning - Create a Drain Life lightning effect from source (Position of ("SLAVE4")) to target (Position of ("BOSS"))
    • Set Lighting[4] = Last Created Ligthing
    • Countdown Timer - Start (timer) as a Repeating timer that will expire in 0.05 seconds
    • set LightTimer = (Last started timer)
need a second trigger for moving the lightning

  • Trigger
    • Events
      • Time - LightTimer expires
    • Conditions
    • Actions
      • Lightning - Move (Lightning[1]) to source (Position of ("SALVE1")) and target (Position of ("BOSS"))
      • Lightning - Move (Lightning[2]) to source (Position of ("SALVE2")) and target (Position of ("BOSS"))
      • Lightning - Move (Lightning[3]) to source (Position of ("SALVE3")) and target (Position of ("BOSS"))
      • Lightning - Move (Lightning[4]) to source (Position of ("SALVE4")) and target (Position of ("BOSS"))
the problem with GUI is that you can change the Z of the lightnings

and yes this triggers leaks i will give u a tutorial to read about leaks
http://www.hiveworkshop.com/forums/showthread.php?t=35124

enjoy :)
 
Level 4
Joined
Feb 27, 2008
Messages
71
hmmm

When i tryed it only come 1 Lightning

Is this right ?
  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Siege Engine
    • Actions
      • Unit - Set life of Razormane Chieftain 0241 <gen> to -2500.00
  • Untitled Trigger 002
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Lightning - Create a Drain Life lightning effect from source (Position of Siege Engine 0246 <gen>) to target (Position of Razormane Chieftain 0241 <gen>)
      • Set Lightning[1] = (Last created lightning effect)
      • Lightning - Create a Drain Life lightning effect from source (Position of Siege Engine 0247 <gen>) to target (Position of Razormane Chieftain 0241 <gen>)
      • Set Lightning[2] = (Last created lightning effect)
      • Lightning - Create a Drain Life lightning effect from source (Position of Siege Engine 0248 <gen>) to target (Position of Razormane Chieftain 0241 <gen>)
      • Set Lightning[3] = (Last created lightning effect)
      • Lightning - Create a Drain Life lightning effect from source (Position of Siege Engine 0249 <gen>) to target (Position of Razormane Chieftain 0241 <gen>)
      • Set Lightning[4] = (Last created lightning effect)
      • Countdown Timer - Start Timer as a Repeating timer that will expire in 0.05 seconds
      • Set Timer = (Last started timer)
  • Untitled Trigger 003
    • Events
      • Time - Timer expires
    • Conditions
    • Actions
      • Lightning - Move Lightning[1] to source (Rally-Point of Siege Engine 0246 <gen> as a point) and target (Position of Razormane Chieftain 0241 <gen>)
      • Lightning - Move Lightning[2] to source (Rally-Point of Siege Engine 0247 <gen> as a point) and target (Position of Razormane Chieftain 0241 <gen>)
      • Lightning - Move Lightning[3] to source (Rally-Point of Siege Engine 0248 <gen> as a point) and target (Position of Razormane Chieftain 0241 <gen>)
      • Lightning - Move Lightning[4] to source (Rally-Point of Siege Engine 0249 <gen> as a point) and target (Position of Razormane Chieftain 0241 <gen>)
:grin: i know i have do wrong :p but what xD
and the
  • Unit - Set life of (((((Razormane Chieftain 0241))))) <gen> to -2500.00
i ganna Create The Boss and the slave if you understand
 
Status
Not open for further replies.
Top