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

[Solved] Lightning Creation triggers won't function (lightning doesn't appear)

Status
Not open for further replies.
Level 14
Joined
Mar 27, 2008
Messages
1,003
I just have one problem... the lightning doesn't appear! Can anyone help me with this problem? Thanks!

Here's the trigger -

  • Environment Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set BUILD_SanctifiedTower = Sanctified Tower 0030 <gen>
      • Set BUILD_Shield1 = Shield Generator 0026 <gen>
      • Set BUILD_Shield2 = Shield Generator 0027 <gen>
      • Set BUILD_Shield3 = Shield Generator 0028 <gen>
      • Set BUILD_Shield4 = Shield Generator 0029 <gen>
      • Lightning - Create a Magic Leash lightning effect from source (Position of BUILD_Shield1) to target (Position of BUILD_SanctifiedTower)
      • Set EF_Shield1Lightning = (Last created lightning effect)
      • Lightning - Create a Magic Leash lightning effect from source (Position of BUILD_Shield2) to target (Position of BUILD_SanctifiedTower)
      • Set EF_Shield2Lightning = (Last created lightning effect)
      • Lightning - Create a Magic Leash lightning effect from source (Position of BUILD_Shield3) to target (Position of BUILD_SanctifiedTower)
      • Set EF_Shield3Lightning = (Last created lightning effect)
      • Lightning - Create a Magic Leash lightning effect from source (Position of BUILD_Shield4) to target (Position of BUILD_SanctifiedTower)
      • Set EF_Shield4Lightning = (Last created lightning effect)
 
Level 20
Joined
Apr 14, 2012
Messages
2,901
I don't get it... mine works fine too:


  • Lightning
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set POINT[1] = (Position of Peasant 0000 <gen>)
      • Set POINT[2] = (Position of Peasant 0001 <gen>)
      • Set POINT[3] = (Position of Peasant 0004 <gen>)
      • Set POINT[4] = (Position of Peasant 0003 <gen>)
      • Set POINT[5] = (Position of Peasant 0002 <gen>)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[1] to target POINT[3]
      • Set LIGHTNING[1] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[3] to target POINT[5]
      • Set LIGHTNING[2] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[5] to target POINT[2]
      • Set LIGHTNING[3] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[2] to target POINT[4]
      • Set LIGHTNING[4] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[4] to target POINT[1]
      • Set LIGHTNING[5] = (Last created lightning effect)
2013-04-12%2011_29_03-Warcraft%20III.jpg



Could it be that other triggers are interfering?
 
Level 14
Joined
Mar 27, 2008
Messages
1,003
I don't get it... mine works fine too:


  • Lightning
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set POINT[1] = (Position of Peasant 0000 <gen>)
      • Set POINT[2] = (Position of Peasant 0001 <gen>)
      • Set POINT[3] = (Position of Peasant 0004 <gen>)
      • Set POINT[4] = (Position of Peasant 0003 <gen>)
      • Set POINT[5] = (Position of Peasant 0002 <gen>)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[1] to target POINT[3]
      • Set LIGHTNING[1] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[3] to target POINT[5]
      • Set LIGHTNING[2] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[5] to target POINT[2]
      • Set LIGHTNING[3] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[2] to target POINT[4]
      • Set LIGHTNING[4] = (Last created lightning effect)
      • Lightning - Create a Chain Lightning - Primary lightning effect from source POINT[4] to target POINT[1]
      • Set LIGHTNING[5] = (Last created lightning effect)
2013-04-12%2011_29_03-Warcraft%20III.jpg



Could it be that other triggers are interfering?

Could it be because I set the lightning to connect from unit to unit instead of from point to point?
 
Status
Not open for further replies.
Top