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

[Trigger] Replace destructible trigger ?

Status
Not open for further replies.

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
Hi all,
i need for a map to make destructible Trees evolve changing there name, size, life max, etc...
the problem is the destructible can only be created /Killed /Resurected /Removed but cannot be replaced...
also it is impossible to put the Destructible into a group variable.

i wish the tree to stay exactly at the same place when evolving, thats why the "replace" is needed... i tryed to figure out a way but i can't find any at the moment, so any of you have an idea of how to do this in a map where there are lots of trees of different type wich will evolve more than once...

i hope some good triggerer can help me out, thanks in advance.
 
Level 9
Joined
Oct 17, 2007
Messages
547
How about setting each tree to a variable, then use the actions:

Set TempPoint = Position of DestructableVariable[a]
Remove DestructableVariable[a]
Create DestructableEvolution1[a] atTempPoint facing etc...

You can play a special effect at that TempPoint to make it look like the tree evolve, but remember to destroy the effect and remove the location or else it leaks. You can use loops if you wanna make more than 1 tree evolve.
 

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
thanks

thanks a lot NoobMapmaker, your trigger is exactly what i need....
 
Status
Not open for further replies.
Top