HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do I do this (about hero control)...

07-31-2003, 01:34 AM#1
Seres
I'm trying to make it so that when a player drops, control of their hero is given to the allied team. I made the correct trigger (I think), but it doesn't let you control the hero. It just gives you the little menu that tells how much money they have ect...

The trigger is this.

Event
Every 1 Seconds

Condition
Player Slot Status 1 is Equal to Empty

Action
Game - Text Message ...
Player Group - Pick every player in (All allies of Player 6 (Orange)) and do (Player - For Player 1 (Red), turn Full shared units On toward (Picked player))

It does everything it's supposed to, except let the allies of Player 6 (the computer controlling team 1's army, that everyone on team 1 is allied to) control the hero. Anyone know how you can do this?
07-31-2003, 03:12 AM#2
playamarz
Quote:
Condition
Player Slot Status 1 is Equal to Empty

There is your problem... That just deals with it being empyt... You should runa trigger that says whether the player has dropped from the game.. Empty is not playing.. And is the status if a slot is INITIALLY while the game is first started empty...

Play Slot Status (Player 1) is equal to has dropped from game.
07-31-2003, 03:21 AM#3
Seres
Sorry...I made a mistake. I didn't mean "Is empty," I meant, "Has left the game."

The problem is not that the trigger doesn't work, it works fine, except that it doesn't allow you to control the dropped player's hero.

I know it can be done, because I've seen it in ToB...