• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Can't destroy special effects

Status
Not open for further replies.
Level 4
Joined
Jun 17, 2011
Messages
64
ok i want to get rid of the "!" after heroes get the quest but it stays there
  • Quest1a
    • Events
      • Unit - A unit comes within 200.00 of Bob 0136 <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Special Effect - Destroy QuestEffect[1]
      • Special Effect - Create a special effect attached to the overhead of Bob 0136 <gen> using Objects\RandomObject\RandomObject.mdl
      • Set QuestEffect[1] = (Last created special effect)
      • Quest - Display to (All players) the Quest Discovered message: NEW QUEST Go kill ...
      • Quest - Create a Optional quest titled Wolves with the description Kill 10 Wolves., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
      • Set QuestEffect[1] = (Last created special effect)
      • Quest - Create a quest requirement for Quests[1] with the description ((String(Kills[1])) + /10 Wolves Killed)
      • Trigger - Turn on Quest1b <gen>
      • Trigger - Turn off (This trigger)
 
Last edited:

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,180
I believe it has to complete its stand animation before the graphic system in WC3 removes it.

Thus it takes a while to vanish but is destroyed and will eventually disappear.
If it really is not destroying the effect, then you must have not assigned it to the variable properly (would need to see other trigger to tell).

Just wait 15-30 second ingame and see if it really does persist or not.
 
Status
Not open for further replies.
Top