HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

WHAT THE HELL...PPPP!!!!!

08-24-2005, 03:55 PM#1
vile
Pick Heroes
Events
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Player - Player 9 (Gray) Selects a unit
Player - Player 10 (Light Blue) Selects a unit
Player - Player 11 (Dark Green) Selects a unit
Conditions
Has_Picked[(Player number of (Triggering player))] Equal to False
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Select_Hero[(Player number of (Triggering player))])
((Triggering unit) is A Hero) Equal to True
Then - Actions
Set Has_Picked[(Player number of (Triggering player))] = True
Unit - Move (Triggering unit) instantly to (Center of DOTL Hero Spawn <gen>)
Set Player_Unit_Heroes[(Player number of (Triggering player))] = (Last created unit)
Cinematic - Clear the screen of text messages for (Player group((Triggering player)))
Camera - Reset camera for (Triggering player) to standard game-view over 0.00 seconds
Camera - Pan camera for (Triggering player) to (Center of DOTL Hero Spawn <gen>) over 0.00 seconds
Selection - Select (Last created unit) for (Triggering player)
Else - Actions
Animation - Play (Triggering unit)'s attack animation
Animation - Queue (Triggering unit)'s stand animation
Cinematic - Clear the screen of text messages for (Player group((Triggering player)))
Set Select_Hero[(Player number of (Triggering player))] = (Triggering unit)
Game - Display to (All players) for 1000000000.00 seconds the text: blah


This is taken DIRECTLY from Extreme Candy Wars 2004
The problem is that when I use it in my map, when I select the hero, I see the text message, and after like 3 seconds it GETS SELECTED!
Its supposed to get selected after i click it again!!
WHAT THE HELL IS WRONG HERE?!?
08-24-2005, 09:44 PM#2
Vexorian
On of those actions is selecting the unit again
08-25-2005, 07:19 PM#3
vile
I removed it.. I debugged it, and there seems to a be a bug in BLIZZARD. When selecting the unit, after 3 seconds or so it selects it again!!! automatically! i removed all of my maps triggers tested it and thats what happens..
08-25-2005, 07:55 PM#4
Tim.
Post the map.
08-27-2005, 06:45 AM#5
Spathis
What's with the actions referring to "last created unit"? I don't see any units being created...
08-27-2005, 10:20 AM#6
vile
dont mind that line its removed and it still bugs :/
nm i dont have a dick to post the map, i just made a different selection system. this is a totally weird bug.
08-27-2005, 03:36 PM#7
Vexorian
There is another line that selects the unit.

Anyways this selection system sucks, get another one, even tavern is better
08-30-2005, 12:52 PM#8
vile
lol
I used your system's idea with the button of select a hero
I couldnt use your system because it has so many variables, for one hero selection area its ok but my map requires two of em so i have to set all those variables for the other team too.

Also your system CREATES a new hero of that type in a certain region and my map needs him moved instead of created. And I noticed that you did a create new unit method because the hero cant be added the abilities of move and attack again.

Yet, I am still impressed with all your skills Lord Vexorian. You made life easier for many jassers out there, you should work for blizzard :)
08-30-2005, 02:59 PM#9
oNdizZ
vile, why do you have to move the unit instead of creating a new and taking the old one away?
08-30-2005, 06:15 PM#10
vile
Because in my map I use preplaced heroes and i use them throughout the entire map scripts (gg_unit_blahblah)
It makes it alot easier for making spells.
08-31-2005, 08:59 PM#11
Burning_Dragoon
spells..... i guess you mean trigger spell.

i'm trying another way to select hero... i'll post it when it's finished if you want
08-31-2005, 09:06 PM#12
Vexorian
You could change it to an old selector thing, just make a selector ability that only works on heroes and use it to select