Get rid fo this ad! Click here to register for your free account.

Welcome to the BF Forums! Register Now, It's Free!

Welcome to the BF Forums; your source for the latest and greatest video game news, strategies, discussions, and resources. Join over 60,000 like-minded gamers from around the world to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.

Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
Register for free today, and these ads will disappear!
BattleForums.com Forums > Major Games > Warcraft > Warcraft Maps and Modifications

##Click Here## | BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 04-08-2006, 11:10 AM   #1 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
Reviving hero, odd problem



That is the trigger, everything looks right but the hero never is revived?

EDIT: This is f00king strange. If the unit I want to revive belongs to me it works, but if it belongs to a computer player nothing happens, is there anyway to get around this?
__________________


www.beelzebub.se -My new website

Last edited by Stardragon; 04-08-2006 at 03:29 PM.
Stardragon is offline   Reply With Quote
Alt Heute
Advertising

Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
   
Old 04-08-2006, 06:26 PM   #2 (permalink)
BattleForums Senior Member
 
Dream_Walker's Avatar
 
Join Date: Feb 2005
Location: Arcanum
Age: 17
Posts: 1,909
is the 'computer' neutral or a different color?
__________________
(\_/)
(O.o)
(> <) Bunnies rule the world. Paste him in your sig for world domination!
Married to §tar§oft
:heart Krobelus :heart

Quote:
Originally Posted by §tar§oft
don't make me smother your face in my thousand year old pussy
Quote:
Originally Posted by Trojan
Because Jenny is like an unfiltered bottle of water. You want it, but once you see whats on the bottom, you go ewww.
Thanks to Hellwolf_36 for my avatars .
Dream_Walker is offline   Reply With Quote
Old 04-08-2006, 07:39 PM   #3 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
I've tried with "Neutral Hostile" and Player 12 (Brown).
__________________


www.beelzebub.se -My new website
Stardragon is offline   Reply With Quote
Old 04-08-2006, 09:28 PM   #4 (permalink)
BattleForums Senior Member
 
Dream_Walker's Avatar
 
Join Date: Feb 2005
Location: Arcanum
Age: 17
Posts: 1,909
Try this:
Event:
A unit dies
Condition:
((Dying unit is a hero)equal to True)
Actions:
Set Variable1 (or whatever the name you want) = Dying unit
Wait 15 (game time) seconds.
Revive Variable 1 at (center of map location) facing Default building degrees.
I think that should work.
__________________
(\_/)
(O.o)
(> <) Bunnies rule the world. Paste him in your sig for world domination!
Married to §tar§oft
:heart Krobelus :heart

Quote:
Originally Posted by §tar§oft
don't make me smother your face in my thousand year old pussy
Quote:
Originally Posted by Trojan
Because Jenny is like an unfiltered bottle of water. You want it, but once you see whats on the bottom, you go ewww.
Thanks to Hellwolf_36 for my avatars .
Dream_Walker is offline   Reply With Quote
Old 04-09-2006, 09:13 AM   #5 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
Still the same problem, whenever a player controlled by a computer (in this case Player 12 or Neutral Hostile) own the unit it won't respawn. When I change ownership of the unit to for ia. red or blue (not computer controlled) it works.



In the example above I put in some actions to see that it actually works, and yes the variables stores the correct information; Which unit it is and where it dies.
__________________


www.beelzebub.se -My new website
Stardragon is offline   Reply With Quote
Old 04-09-2006, 01:49 PM   #6 (permalink)
BattleForums Senior Member
 
Dream_Walker's Avatar
 
Join Date: Feb 2005
Location: Arcanum
Age: 17
Posts: 1,909
Why do you have an array?
And why do you have a player owned unit event. Just make a general unit event.

Here, try something like this.
Attached Files
File Type: w3x ReviveTrigger.w3x (16.6 KB, 4 views)
__________________
(\_/)
(O.o)
(> <) Bunnies rule the world. Paste him in your sig for world domination!
Married to §tar§oft
:heart Krobelus :heart

Quote:
Originally Posted by §tar§oft
don't make me smother your face in my thousand year old pussy
Quote:
Originally Posted by Trojan
Because Jenny is like an unfiltered bottle of water. You want it, but once you see whats on the bottom, you go ewww.
Thanks to Hellwolf_36 for my avatars .

Last edited by Dream_Walker; 04-09-2006 at 02:03 PM.
Dream_Walker is offline   Reply With Quote
Old 04-09-2006, 02:42 PM   #7 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
Quote:
Originally Posted by Dream_Walker
Why do you have an array?
And why do you have a player owned unit event. Just make a general unit event.
1) Wether I have an array or not should not affect the trigger
2) Because I don't want the trigger to kick in every time a hero dies no matter to which hero it belongs

Nothing of what you said have anything to do with the problem.

EDIT: I'm going nuts. It works in your test map but when I copy the trigger to my map (of course adding the variables you're using) it doesn't work. Fantastic.
__________________


www.beelzebub.se -My new website

Last edited by Stardragon; 04-09-2006 at 03:24 PM.
Stardragon is offline   Reply With Quote
Old 04-09-2006, 03:38 PM   #8 (permalink)
BattleForums Senior Member
 
Dream_Walker's Avatar
 
Join Date: Feb 2005
Location: Arcanum
Age: 17
Posts: 1,909
Is there anything else that might affect the trigger? If not, remake the map? Sorry i can't help
__________________
(\_/)
(O.o)
(> <) Bunnies rule the world. Paste him in your sig for world domination!
Married to §tar§oft
:heart Krobelus :heart

Quote:
Originally Posted by §tar§oft
don't make me smother your face in my thousand year old pussy
Quote:
Originally Posted by Trojan
Because Jenny is like an unfiltered bottle of water. You want it, but once you see whats on the bottom, you go ewww.
Thanks to Hellwolf_36 for my avatars .
Dream_Walker is offline   Reply With Quote
Old 04-09-2006, 08:14 PM   #9 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
Anything special that could cause the problems?
__________________


www.beelzebub.se -My new website
Stardragon is offline   Reply With Quote
Old 04-09-2006, 08:28 PM   #10 (permalink)
BattleForums Senior Member
 
Pains Requiem's Avatar
 
Join Date: Nov 2003
Location: north carolina
Age: 19
Posts: 4,051
Are you sure the "Neutral Hostile" isn't whats causing the problems? Not much on triggers, but Neutral Hostile units don't reqally have heros, they are considered "creeps", so maybe that is why it is only affect you.

You might have to recreate the same trigger X amount of times for X amount of players, 1 trigger per colored team?
__________________
"The Doors of Perception"

She danced around and round
To a guitar melody
From the fire her face
Was all aglow
How she enchanted me
Oh how I’d like to hold her near
And kiss and forever whisper in her ear




Last sexed by Darkmatter : 05-2-2005 at 5:47 PM.
Pains Requiem is offline   Reply With Quote
Old 04-10-2006, 05:40 AM   #11 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
Well it worked with a Neutral Hostile unit in the test map Dreamwalker posted.
__________________


www.beelzebub.se -My new website
Stardragon is offline   Reply With Quote
Old 04-10-2006, 03:41 PM   #12 (permalink)
BattleForums Senior Member
 
Dream_Walker's Avatar
 
Join Date: Feb 2005
Location: Arcanum
Age: 17
Posts: 1,909
Quote:
Originally Posted by Stardragon
Well it worked with a Neutral Hostile unit in the test map Dreamwalker posted.
Yes, it did. PM me your map, maybe i can find something wrong with it.
__________________
(\_/)
(O.o)
(> <) Bunnies rule the world. Paste him in your sig for world domination!
Married to §tar§oft
:heart Krobelus :heart

Quote:
Originally Posted by §tar§oft
don't make me smother your face in my thousand year old pussy
Quote:
Originally Posted by Trojan
Because Jenny is like an unfiltered bottle of water. You want it, but once you see whats on the bottom, you go ewww.
Thanks to Hellwolf_36 for my avatars .
Dream_Walker is offline   Reply With Quote
 
Reply

« How do u make heros have different skills? | Need map protection and DDscore. »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off


All times are GMT -4. The time now is 09:14 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0