• 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.

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,219
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