• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[Trigger] Ok this one HAS to be a bug...

Status
Not open for further replies.
Level 10
Joined
Feb 19, 2006
Messages
237
  • test1
    • Events
      • Player - Player 1 (Red) types a chat message containing ensnare as An exact match
    • Conditions
    • Actions
      • Unit - Create 1 Dummy Unit for Neutral Hostile at (Position of Footman 0006 <gen>) facing Default building facing degrees
      • Unit - Add Ensnare (Neutral Hostile) to (Last created unit)
      • Unit - Order (Last created unit) to Orc Raider - Ensnare Footman 0006 <gen>
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Game - Display to (All players) the text: ensnare
The text "ensnare" is displayed however the unit "Footman 0006" does not get ensnared.

Note: The dummy unit works fine (used him for other spells)
 
Level 10
Joined
Feb 19, 2006
Messages
237
I tried that out right now:

  • test1
    • Events
      • Player - Player 1 (Red) types a chat message containing ensnare as An exact match
    • Conditions
    • Actions
      • Set footman = Footman 0006 <gen>
      • Unit - Create 1 Dummy Unit for Neutral Hostile at (Position of footman) facing Default building facing degrees
      • Unit - Add Ensnare (Neutral Hostile) to (Last created unit)
      • Unit - Order (Last created unit) to Orc Raider - Ensnare footman
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Game - Display to (All players) the text: ensnare
Still the text "ensnare" is displayed but the footman is not ensnared.
 
Level 17
Joined
Apr 27, 2008
Messages
2,455
Using a variable won't change anything.

Then it's likely about the ability "ensnare".
Convert you trigger in jass to see the order string given to last created unit and make sure that's the same than the ability ensnare.

Btw, changing this string order for an ability has no effect, except only very few ones like spellbook and channel.

Also editing a spell doesn't always fully work, like changing the target, you have to test it if it works, it's the only way.

An unit can't have several abilities using the same order string, or it will bug.

And finally again check the common ones (mana, requirements, ...)
 
Status
Not open for further replies.
Top