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
 
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.
Back
Top