| 05-31-2004, 05:13 AM | #1 |
I need to have any destructable known as "Ruins Canopy Tree" in some regions regrow after they are chopped down. This trigger runs every 15 seconds and affects 30 regions. It worked fine until I realized that what I originally had was reconstructing ALL destructables in said regions. I know it will be a condition destructable comparison, but what? Help please. |
| 05-31-2004, 05:17 AM | #2 |
hum? destructible-pick every destructible in region(region) of type(tree) and do ressurrect picked destructible doodad i dont know exactly what you mean |
| 05-31-2004, 05:56 AM | #3 | |
Quote:
That would work except it can't be done I don't think. I can't find how to to the "of type" part of your suggestion. Neeed answer, or death... |
| 05-31-2004, 07:54 AM | #4 | |
Quote:
well you cant find it couse you also need an if then else condition Code:
Zerstörbar - Pick every destructible in (Playable map area) and do (If ((Destructible-type of (Picked destructible)) Gleich Sommerbaumwand) then do (Zerstörbar - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Zeigen birth animation) else do (Do nothing)) |
| 05-31-2004, 10:26 AM | #5 | |
Quote:
Nm I got it.(looks like my German came in handy finally) Are you sure I need a condition though? |
| 05-31-2004, 10:36 AM | #6 |
Code:
Destructable - Pick every destructable in (Playable map area) and do (If ((Destructable-type of (Picked destructable)) Ruins Canopy Tree) then do (Destructable - Resurrect (Picked destructable) with (Max life of (picked destructable)) life and show birth animation) else do (Do nothing)) |
| 05-31-2004, 10:48 AM | #7 |
Nm. I got it to work. Vielen Dank habe ich wirklich gebraucht die Hilfe. |
