• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Why does this trigger crash my game?

Status
Not open for further replies.
Level 3
Joined
Jan 11, 2018
Messages
23
  • Rock Death
    • Events
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to The Earth
    • Actions
      • Set RNG = (Random integer number between 1 and 100)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • RNG Greater than 90
        • Then - Actions
          • Set OreSpawn = (Position of (Dying destructible))
          • Destructible - Create a Iron at OreSpawn facing (Random angle) with scale 1.00 and variation (Random integer number between 1 and 6)
          • Trigger - Add to Iron DEATH <gen> the event (Destructible - (Last created destructible) dies)
          • Special Effect - Create a special effect at OreSpawn using Abilities\Spells\Items\AIvi\AIviTarget.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
  • Iron DEATH
    • Events
    • Conditions
    • Actions
      • Set ExpendablePoint = (Position of (Dying destructible))
      • Special Effect - Create a special effect at ExpendablePoint using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • Item - Create Iron Ore at ExpendablePoint
      • Destructible - Remove (Dying destructible)
      • Custom script: call RemoveLocation(udg_ExpendablePoint)
My game crashes every time an Iron destructible dies. I can't really seem to locate the reason for this happening. Any help?
 
Status
Not open for further replies.
Top