• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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