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

[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 64
Joined
Jan 18, 2005
Messages
27,259
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