| 09-21-2003, 12:13 AM | #1 |
I'm makin an Rpg similar to Open Rpg but I dont know how to make all the trees in the map respawn after being destroyed by hero magic like...force of nature. in simple terms...how do you make doodads respawn after being destroyed? |
| 09-21-2003, 12:24 AM | #2 |
Something like this: forfun Events Time - Every 10.00 seconds of game time Conditions Actions Destructible - Pick every destructible in (Playable map area) and do (Actions) Loop - Actions Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation I heard somewhere, that picking destructible's in whole playable map area, is limited to 65...if that is so, you will need to make regions for clusters of trees. Not sure if it counts for regions though. Try it |
| 09-21-2003, 12:25 AM | #3 |
God bless you, if it worx i'll be sure to give u credit |
| 09-21-2003, 12:50 AM | #4 |
If all you want is for FoN to respawn trees, but nothing else (ie so peasents can still chop down forests), you can use a custom text trigger I wrote. Basically how it works is it detects when a treant enters the map, saves the location of the treant, then 30 seconds later respawns all the trees in the area. I've attached a map that includes both the FoN respawn trigger, and the map-wide tree respawn. (ofcourse you should only use one of the triggers!) |
| 09-21-2003, 12:52 AM | #5 |
neat thanx for da map.:D |
