[Trigger] Multiple Growing Trees

Status
Not open for further replies.
Level 2
Joined
Nov 12, 2011
Messages
24
So basically, I'm trying to make a trigger that makes a plant that grows into a tree but it bugs when I put multiple of them
D3j3biW.png
 
Any luck?

Can you send me a Demo Map For all the required Object, Destructible, skill, trigger and whatsover? (For the Trigger part, just put the one you have now, and I will Try and Fix it if i manage to)

Because I really have no idea what you wanna make O.O and what skill or what destructible to be created
 
Use a local variable.

  • tree
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to Serpent Ward (Level 1)
    • Actions
      • Custom script: local destructable udg_temp_tree
      • Set temp_point = (Position of (Summoned unit))
      • Unit - Kill (Summoned unit)
      • Destructible - Create a Summer Tree Wall at temp_point facing (Random angle) with scale 0.25 and variation 0
      • Set temp_tree = (Last created destructible)
      • Custom script: call RemoveLocation(udg_temp_point)
      • Wait 1.00 seconds
      • Set temp_point = (Position of temp_tree)
      • Destructible - Kill temp_tree
      • Destructible - Create a Summer Tree Wall at temp_point facing (Random angle) with scale 0.50 and variation 0
      • Set temp_tree = (Last created destructible)
      • Custom script: call RemoveLocation(udg_temp_point)
      • Wait 1.00 seconds
      • Set temp_point = (Position of temp_tree)
      • Destructible - Kill temp_tree
      • Destructible - Create a Summer Tree Wall at temp_point facing (Random angle) with scale 0.75 and variation 0
      • Set temp_tree = (Last created destructible)
      • Custom script: call RemoveLocation(udg_temp_point)
 
Status
Not open for further replies.
Top