Register for free, and make this box disappear!

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


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers 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!
BattleForums.com Forums > Major Games > Warcraft > Warcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 04-16-2006, 07:32 PM   #1 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 4
Icon8 Reviving computer controlled hero

I am trying to revive hero of computer controlled player. my trigger works for user controlled heroes, but doesn't work for computer controlled heroes. i am using Hero - Instantly Revive action.
rohezal is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 04-19-2006, 09:32 AM   #2 (permalink)
BattleForums Newbie
 
sticced's Avatar
 
Join Date: Apr 2006
Location: Finland
Posts: 7
This should work: (if doesn't there's something wrong about me) :tnt

Events -
Unit - A unit owned by player 1 (Red) Becomes revivable
Unit - A unit owned by player 2 (Blue) Becomes revivable
Unit - A unit owned by player 3 (Teal) Becomes revivable
Unit - A unit owned by player 4 (Purple) Becomes revivable
Unit - A unit owned by player 5 (Yellow) Becomes revivable
Unit - A unit owned by player 6 (Orange) Becomes revivable
Unit - A unit owned by player 7 (Green) Becomes revivable
Unit - A unit owned by player 8 (Pink) Becomes revivable
Unit - A unit owned by player 9 (Gray) Becomes revivable
Unit - A unit owned by player 10 (Light Blue) Becomes revivable
Unit - A unit owned by player 11 (Dark Green) Becomes revivable
Unit - A unit owned by player 12 (Brown) Becomes revivable

Conditions -
Actions -
Hero - Instantly revive (Revivable hero) at (Position of altar[(Player number of (Owner of Revivable hero)))]),show revival graphics
Unit - Order (Revivable hero) to attack-move To (AltarRallyPoint[(Player number of (Owner of (Revivable hero)))] offset by (0.00, 0.00))

Last edited by sticced; 04-19-2006 at 09:52 AM.
sticced is offline   Reply With Quote
Old 04-19-2006, 06:10 PM   #3 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 4
Quote:
Originally Posted by sticced
This should work: (if doesn't there's something wrong about me) :tnt

Events -
Unit - A unit owned by player 1 (Red) Becomes revivable
Unit - A unit owned by player 2 (Blue) Becomes revivable
Unit - A unit owned by player 3 (Teal) Becomes revivable
Unit - A unit owned by player 4 (Purple) Becomes revivable
Unit - A unit owned by player 5 (Yellow) Becomes revivable
Unit - A unit owned by player 6 (Orange) Becomes revivable
Unit - A unit owned by player 7 (Green) Becomes revivable
Unit - A unit owned by player 8 (Pink) Becomes revivable
Unit - A unit owned by player 9 (Gray) Becomes revivable
Unit - A unit owned by player 10 (Light Blue) Becomes revivable
Unit - A unit owned by player 11 (Dark Green) Becomes revivable
Unit - A unit owned by player 12 (Brown) Becomes revivable

Conditions -
Actions -
Hero - Instantly revive (Revivable hero) at (Position of altar[(Player number of (Owner of Revivable hero)))]),show revival graphics
Unit - Order (Revivable hero) to attack-move To (AltarRallyPoint[(Player number of (Owner of (Revivable hero)))] offset by (0.00, 0.00))
No, trigger is executed when hero dies, but this action doesn't work for computer controlled heroes.
rohezal is offline   Reply With Quote
Old 04-19-2006, 09:42 PM   #4 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,591
Also, that trigger would only work when all 12 heroes are dead. Since every condition/events must return true in order for the trigger to "work". Shouldn't you try something more generic?
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.


Kurisu - Zy-el Sorceress - Level 41 of 10000

NezMod Server Forums - The Mod lives on!
Join the Phantasy Star Online sensation - ChrisH36
Chris is offline   Reply With Quote
Old 04-22-2006, 10:56 PM   #5 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 4
Quote:
Originally Posted by Hellwolf_36
Also, that trigger would only work when all 12 heroes are dead. Since every condition/events must return true in order for the trigger to "work". Shouldn't you try something more generic?
Trigger is executed when any event happens and all conditions are true i think. But events and conditions aren't important now, trigger is executed but action does nothing.
I've also tried revive order on altar, but it didn't work.
rohezal is offline   Reply With Quote
Old 04-23-2006, 02:58 AM   #6 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,591
The Hero - Instantly Revived Hero needs to have an event where the hero dies. Then the function can be directed thru (Last Dying hero) or (Dead Hero owned by player whatever) or something like that.

Those trigger lines can be confusing to write.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.


Kurisu - Zy-el Sorceress - Level 41 of 10000

NezMod Server Forums - The Mod lives on!
Join the Phantasy Star Online sensation - ChrisH36
Chris is offline   Reply With Quote
Old 04-23-2006, 06:41 AM   #7 (permalink)
BattleForums Newbie
 
sticced's Avatar
 
Join Date: Apr 2006
Location: Finland
Posts: 7
That trigger i used works. Atleast on me.:frustrate
__________________
Everything that people knows is useless. :grunt
sticced is offline   Reply With Quote
Old 04-27-2006, 11:01 AM   #8 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 4
Quote:
Originally Posted by Hellwolf_36
The Hero - Instantly Revived Hero needs to have an event where the hero dies. Then the function can be directed thru (Last Dying hero) or (Dead Hero owned by player whatever) or something like that.

Those trigger lines can be confusing to write.
Events/conditions are ok, but action doesn't work for computer controlled players, it works for user controled players.
rohezal is offline   Reply With Quote
Old 04-27-2006, 12:26 PM   #9 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,591
Quote:
(Position of altar[(Player number of (Owner of Revivable hero)))]
Could it be the array? You can also add a condition to check and see if the guy is a in fact computer controlled.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.


Kurisu - Zy-el Sorceress - Level 41 of 10000

NezMod Server Forums - The Mod lives on!
Join the Phantasy Star Online sensation - ChrisH36
Chris is offline   Reply With Quote
Old 05-14-2006, 01:29 PM   #10 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
HAHA! I had exactly this problem earlier, never got it sorted out ;/
__________________


www.beelzebub.se -My new website
Stardragon is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« Warcraft Map Editor | Need map trigger, and advice: FF based map »

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 08:40 PM.



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