(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Recycle Bin > Recycle Bin

Recycle Bin Don't be offended by the name. This is where we put everything that randomly appears around the forums.

 
 
LinkBack Thread Tools Display Modes
Old 06-07-2008, 10:29 AM   #1 (permalink)
 
jysker2001's Avatar

Living for the swarm!
 
Join Date: May 2008
Posts: 13

jysker2001 is an unknown quantity at this point (0)


SIMPLE trigger - trees respawning

I am working on a AoS map, and i need some help with a so simple trigger like making all the trees in the map resurrect if they are destroyed. I have ben trying with this:
Made a region, covering the whole map, called it: Region of Map
and then this trigger
Destroy Trees
Events
Destructible - A destructible within Region of Map <gen> dies
Conditions
Actions
Wait 2.00 seconds
Destructible - Resurrect (Dying destructible) with (Max life of (Dying destructible)) life and Show birth animation

That does not work, any help? What do i need to do? Thanks
__________________
jysker2001 is offline  
Old 06-07-2008, 10:44 AM   #2 (permalink)
 
Freiddie's Avatar

away
 
Join Date: Jun 2008
Posts: 53

Freiddie has little to show at this moment (12)Freiddie has little to show at this moment (12)


You can't monitor all the destructibles by using the "A destructible dies" event because it can only monitor up to a maximum 64 destructibles in the region. I suggest using a periodic trigger that picks every destructible in entire map and has a chance to resurrect each of them. If not, I think there are other tree respawn tutorials around here.
Freiddie is offline  
Old 06-07-2008, 10:59 AM   #3 (permalink)
 
jysker2001's Avatar

Living for the swarm!
 
Join Date: May 2008
Posts: 13

jysker2001 is an unknown quantity at this point (0)


Okay thank you, i will try searching a bit more, or find somthing out.
__________________
jysker2001 is offline  
Old 06-07-2008, 06:14 PM   #4 (permalink)
 
Hawkwing's Avatar

Texture Artist
 
Join Date: Dec 2007
Posts: 4,165

Hawkwing is just really nice (374)Hawkwing is just really nice (374)Hawkwing is just really nice (374)Hawkwing is just really nice (374)

Respected User: This user has been given the respected user award. 

Another thing you could do is this..

1. Make a unit and set the properties so it fits a tree.

2. Create a trigger similar to this.
Tree Respawn
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to "Tree"
Actions
Unit - Create 1 "Tree" for "Desired Player" at (Position of (Dying unit)) facing Default building facing degrees

You may have noticed the quotation marks before and after some words. Those simply mean that depending on what you decide to put in yourself will affect that text.

If you wish to have a wait between when it respawns add this trigger:

Wait "Desired Duration" seconds

*Also I apologize for posting in a WEHZ Solved Problem Thread. I didn't realise it was here considering the link was in the Unsolved WEHZ Problems Forum. I'm sorry.*
__________________

Notices

The bird is the word.

Favourites
Hawkwing is offline  
Old 09-01-2008, 06:37 PM   #5 (permalink)
 
TheBlooddancer's Avatar

Cute Kargo is Cute :3
 
Join Date: Jun 2008
Posts: 2,654

TheBlooddancer is just really nice (415)TheBlooddancer is just really nice (415)TheBlooddancer is just really nice (415)TheBlooddancer is just really nice (415)TheBlooddancer is just really nice (415)


Well Hawk, for that to be true, you made Trees a unit, and tehrefor not harvestable (Or what..?)
So it would work, if you made all the trees in your map into some units with the model ofa tree (Which i mean to remember is just a cluster of white things)..
So, could Hawks trigger solve the problem (I might be mistaken)
__________________
Last edited by The Administration; Today at 15:08 PM.. Reason: Do not spam, flame, harass and discriminate other users in a such way.



TheBlooddancer is offline  
Old 09-01-2008, 06:44 PM   #6 (permalink)
 
Huurka's Avatar

Um.
 
Join Date: May 2008
Posts: 1,535

Huurka is a jewel in the rough (211)Huurka is a jewel in the rough (211)Huurka is a jewel in the rough (211)


Thank you for the bump.
Huurka is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Trigger] Trigger that kills trees Black-Templar Triggers & Scripts 13 05-18-2007 10:32 PM
[Trigger] Resurrecting trees trigger please Melshisedek1 Triggers & Scripts 2 03-21-2007 12:20 AM
[Trigger] Respawning trees. mushi Triggers & Scripts 3 03-07-2007 09:40 PM
Trigger help, respawning creeps Sk2k52 Map Development 0 07-28-2005 08:11 PM
Trees -simple- Damnations_Feet Requests 0 08-25-2004 08:30 PM

All times are GMT. The time now is 07:22 AM.






Your link here 
Free SMS | Debt Consolidation | Debt Consolidation | Top Credit Cards | Credit Cards
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle