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

Trigger that causes wc3 to close

Status
Not open for further replies.
Level 4
Joined
Aug 26, 2009
Messages
65
whenever this trigger is ran warcraft 3 forcequits, does anyone know how i can get it working
  • FlameThrower Drop
    • Events
      • Unit - A unit Loses an item
    • Conditions
      • (Unit-type of (Hero manipulating item)) Equal to Survivor With a Flamethrower
      • (Item-type of (Item being manipulated)) Equal to Flamethrower
    • Actions
      • Unit - Replace (Hero manipulating item) with a Survivor Normal using The old unit's relative life and mana
      • Hero - Set (Last created unit) experience to (Hero experience of (Hero manipulating item)), Hide level-up graphics
or... does anyone know an alternative that will still keep the items and HP the same
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Try putting a wait before replacing the hero and see if the game still crashes. (this is for debugging).
If it does not then obviously you can not remove the triggering unit in response to that event (how replace works). Thus you may have to use a timer with 0 seconds delay (0.0000) to give some kind of delay before removing the unit.
 
Status
Not open for further replies.
Top