• 🏆 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!

Farseer wolves dont expire

Status
Not open for further replies.
Level 2
Joined
Jan 20, 2009
Messages
18
Hi,

I got a problem with farseer wolves. If you cast wolves they have the usual summon cooldown timer in their unit window, but when you cast another set of wolves the original wolves dont expire and you end up with 4 instead of 2.

Since I dont know what my problem is, I attached the map, so you can see for yourself:

Steps to reproduce:
Spend a skill point on the FS wolves skill
Cast it
Cast it again as soon as the cooldown is ready.
 

Attachments

  • Surrounding Training v1.w3x
    189.3 KB · Views: 31
Hello, you have this trigger:
  • Revive Player 1
    • Events
      • Unit - A unit owned by Player 1 (Red) Dies
    • Conditions
    • Actions
      • Unit - Create 1 (Unit-type of (Triggering unit)) for Player 1 (Red) at (Position of (Triggering unit)) facing Default building facing degrees
It's normal, since it revived dead units :)
Plus, it leaks; use this:
  • Revive Player 1
    • Events
      • Unit - A unit owned by Player 1 (Red) Dies
    • Conditions
      • (((Unit-type of (Triggering unit)) Not Equal to Spirit Wolf)) Or ((Unit-type of (Triggering unit)) Not Equal to Dire Wolf))
    • Actions
      • Set Point1 = (Position of (Triggering unit))
      • Unit - Create 1 (Unit-type of (Triggering unit)) for Player 1 (Red) at (Point1) facing Default building facing degrees
      • Custom script: call RemoveLocation (udg_Point1)
 
Status
Not open for further replies.
Top