• 🏆 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!

Help to make Auto Chain lighting system or find 1

Status
Not open for further replies.
Level 8
Joined
Aug 8, 2011
Messages
297

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
i dont thought it was needed since is a very normal thing you do.

1. find the chain lighting in the object editor and edit it as you want make sure to set mana cost = 0

2. use this trigger
  • auto chain lighting
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of Chain lighting for (Attacking unit)) Greater than 0
      • (Random integer number between 1 and 100) Less than Proc_chance
    • Actions
      • Set temp_point = (Position of (Attacking unit))
      • Unit - Create 1 Dummy for (Owner of (Attacking unit)) at temp_point facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Attacked unit)
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_temp_loc)
 
Level 8
Joined
Aug 8, 2011
Messages
297
i dont thought it was needed since is a very normal thing you do.

1. find the chain lighting in the object editor and edit it as you want make sure to set mana cost = 0

2. use this trigger
  • auto chain lighting
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of Chain lighting for (Attacking unit)) Greater than 0
      • (Random integer number between 1 and 100) Less than Proc_chance
    • Actions
      • Set temp_point = (Position of (Attacking unit))
      • Unit - Create 1 Dummy for (Owner of (Attacking unit)) at temp_point facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Attacked unit)
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_temp_loc)

can you send the trigger to me in a map ?
 
Status
Not open for further replies.
Top