destructible respawn?

Quakern

New Member
Reaction score
1
Hey there.
Well I want that after you kill a tree, then it will respawn after X seconds.
All the trees spawns by a trigger, so selecting them with another trigger wont work :p and for some reason, I can't use Destructible variable in the trigger.
I did something like this, but it's not working :S
Trigger:
  • Test
    • Events
      • Destructible - A destructible within (Entire map) dies
    • Conditions
      • Summer Tree Wall Equal to (Destructible-type of (Dying destructible))
    • Actions
      • Wait 2.00 seconds
      • Destructible - Create a Summer Tree Wall at (Position of (Dying destructible)) facing (Random angle) with scale 1.00 and variation 0

Anyone have any clue on how to make this work?
(tried to change the event, so it is in a region too)
And it is supposed to spawn at the posistion of the dying destructible ofc ;-)
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Some thing like this
Trigger:
  • Revive Dead Trees Setup
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Destructible - Pick every destructible in (Entire map) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Revive Dead Trees <gen> the event (Destructible - (Picked destructible) dies)
      • Custom script: call DestroyTrigger(GetTriggeringTrigger())

Trigger:
  • Revive Dead Trees
    • Events
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Destructible-type of (Dying destructible)) Equal to Felwood Tree Wall
    • Actions
      • Wait 10.00 game-time seconds
      • Destructible - Resurrect (Dying destructible) with (Max life of (Dying destructible)) life and Show birth animation
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Maybe try this :S
Trigger:
  • Respawn Tree
    • Events
      • Destructible - A destructible within (Playable map area) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Summer Tree Wall
    • Actions
      • Wait 2.00 seconds
      • Destructible - Resurrect (Dying destructible) with (Max life of (Last created destructible)) life and Show birth animation


Changed the event to use Playable map area instead on Entire map too, because it's better :D
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
But some abilities can destroy trees outside playable map area
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Bu what does that matter??? Since you can't see them anyways.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
You can see trees outside playable map area :mad: and if nothing there it looks so boring :(
 

Komaqtion

You can change this now in User CP.
Reaction score
469
YOu might see some shading of them, but still... I've never used "Entire map" and almost nobody else does either :p But of course, you can use it if you want :D
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
So what is the diffrence of reviving just a little bit more trees :confused:
Nothing makes it look better thats all :D
 

Quakern

New Member
Reaction score
1
I have tried in playable map, and also in a region with only 50 trees in but still same problem. I also have a another trigger, but the problem is that if I kill it, then it could spawn exactly after cos it's a periodic event. So I prefer not to use that :/

EDIT: oh and it looks like it is the event that are wrong ofc :/ nothing would spawn at all
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Use one of ours. I know mine works because thats the one i use for most of my maps and not sure if Komaqtions work unless he has tested it
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Use one of ours. I know mine works because thats the one i use for most of my maps and not sure if Komaqtions work unless he has tested it

To start with, ours are exactly the same, only mine is a bit more efficient because it only uses 1 event.

Also, why this:
Trigger:
  • Or - Any (Conditions) are true
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Felwood Tree Wall


"Or" ???
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Hehehehe made it long time ago :D
never felt the need to improve it ;)
 

Quakern

New Member
Reaction score
1
Tried this but wasnt working :/ nothing spawn at all:p
Trigger:
  • Test
    • Events
      • Destructible - A destructible within (Playable map area) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Summer Tree Wall
    • Actions
      • Wait 2.00 seconds
      • Destructible - Resurrect (Dying destructible) with (Max life of (Last created destructible)) life and Show birth animation
 

Quakern

New Member
Reaction score
1
This one is working, but the event is crap :p it could spawn right after I kill the tree :s
Trigger:
  • Tree respawn
    • Events
      • Time - Every 25.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (innelaast <gen> contains Unit) Equal to True
        • Then - Actions
          • Unit - Move Unit instantly to (Center of Ute <gen>)
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (innelaast Copy <gen> contains Unit) Equal to True
        • Then - Actions
          • Unit - Move Unit instantly to (Center of Ute Copy <gen>)
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (innelaast <gen> contains Boss[1]) Equal to True
        • Then - Actions
          • Unit - Move Boss[1] instantly to (Center of Ute <gen>)
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (innelaast <gen> contains Boss[1]) Equal to True
        • Then - Actions
          • Unit - Move Boss[1] instantly to (Center of Ute <gen>)
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[1] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[1]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[2] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[2]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[3] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[3]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[4] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[4]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[5] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[5]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[6] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[6]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[7] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[7]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[8] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[8]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[9] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[9]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[10] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[10]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[11] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[11]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[12] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[12]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[13] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[13]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[14] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[14]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[15] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[15]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[16] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[16]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[17] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[17]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[18] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[18]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[19] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[19]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[20] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[20]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[21] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[21]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[22] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[22]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[23] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[23]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[24] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[24]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[25] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[25]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[26] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[26]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[27] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[27]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[28] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[28]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[29] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[29]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[30] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[30]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[31] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[31]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[32] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[32]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[33] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[33]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[34] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[34]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[35] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[35]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[36] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[36]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[37] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[1]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[37] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[1]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[38] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[38]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[39] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[39]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[40] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[40]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[41] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[41]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[42] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[42]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[43] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[43]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[44] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[44]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[45] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[45]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[46] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[46]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[47] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[47]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[48] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[48]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[49] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[49]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[50] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[50]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[51] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[51]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[52] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[52]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[53] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[53]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[54] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[54]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[55] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[55]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[56] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[56]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[57] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[57]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[58] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[58]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[59] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[59]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[60] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[60]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[61] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[61]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[62] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[62]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[63] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[63]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[64] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[64]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[65] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[65]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[66] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[66]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[67] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[67]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[68] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[68]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[69] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[69]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[70] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[70]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[71] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[71]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[72] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[72]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[73] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[73]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[74] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[74]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[75] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[75]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[76] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[76]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[77] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[77]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[78] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[78]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[79] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[79]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[80] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[80]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[81] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[81]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[82] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[82]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[83] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[83]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[84] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[84]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[85] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[85]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[86] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[86]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[87] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[87]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[88] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[88]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[89] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[89]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[90] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[90]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[91] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[91]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[92] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[92]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[93] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[93]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[94] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[94]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[95] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[95]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[96] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[96]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (tree[97] is alive) Equal to False
        • Then - Actions
          • Destructible - Create a Summer Tree Wall at (Position of tree[97]) facing (Random angle) with scale 1.00 and variation 0
        • Else - Actions
          • Do nothing
 

Komaqtion

You can change this now in User CP.
Reaction score
469
You shouldn't merge triggers like this, just create a new trigger with the event and stuff that I posted in my trigger :D That should work ;)
 

Quakern

New Member
Reaction score
1
Okey atm i got this trigger now:
Trigger:
  • Test
    • Events
      • Destructible - A destructible within (Playable map area) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Summer Tree Wall
    • Actions
      • Game - Display to (All players) for 30.00 seconds the text: testtest
      • Wait 2.00 seconds
      • Destructible - Resurrect (Dying destructible) with (Max life of (Last created destructible)) life and Show birth animation


The problem here is that I only find the single demon door in the map, and no trees at all. Is there anyone that knows if there is any events that works when a tree dies?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
That fine just change (last created destructable) to dying destructable
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top