HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Invalid trigger

03-12-2004, 03:13 PM#1
LicheMaster
I really don't know what the wrong there is wrong with this trigger... but it keeps saying that it's wrong so here it goes

Choosed TUED
Events
Dialog - A dialog button is clicked for ChooseRace
Conditions
(Triggering player) Equal to Player 1 (Red)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering player) Equal to Player 1 (Red)
Then - Actions
Unit - Create 1 Castle for Player 1 (Red) at (Random point in Team 1 <gen>) facing 0,00 degrees
Unit - Create 5 Breeder (Female) for Player 1 (Red) at (Random point in Team 1 <gen>) facing 0,00 degrees
Else - Actions
Do nothing
03-12-2004, 04:46 PM#2
Pesmerga
Ok first off, don't use purple. There is a black background + purple text = nigh impossible to read. Second, what do you mean "it keeps saying that it's wrong". The trigger looks fine to me. The only thing I could see wrong with it is that the main condition "(Triggering player) Equal to Player 1 (Red)" should belond in the "If (All Conditions are True)" action.
03-12-2004, 05:10 PM#3
LicheMaster
This is what it keeps saying when i try to enable the trigger

Atloc( 5 , 'n000', Player(0), GetRandomLocInRect(gg_rct_Team_1), 00 )

and if we are going to talk about when i try starting the map... then it goes berzerk with 179 compile errors
03-12-2004, 06:40 PM#4
Pesmerga
Possibly its a custom unit problem or has something to do with another trigger. Have you tried deleting the trigger and then running it? Or creating normal units as a test?
03-12-2004, 07:06 PM#5
Vexorian
Do you have a file called blizzard.j imported in your map? / Are you using a 3rd party editor?
03-12-2004, 09:00 PM#6
LicheMaster
She is not the problem i tried that. i found the problem it's when it has to do the Then action "Unit - Create 1 Castle for Player 1 (Red) at (Random point in Team 1 <gen>) facing 0,00 degrees" that one shouldn't be wrong right ?? or should i totally forget the If/Then/Else ?? and just do a "Unit - Create 1 Castle for Player 1 (Red) at (Random point in Team 1 <gen>) facing 0,00 degrees" ?
03-12-2004, 09:20 PM#7
LicheMaster
No wonder it got errors.... somehow all the spells/abilities from Enfos got mixed up with my map... weird...
03-13-2004, 12:50 AM#8
Zethiros
Quote:
Originally Posted by LicheMaster
No wonder it got errors.... somehow all the spells/abilities from Enfos got mixed up with my map... weird...
Yeah, it's a wierd bug. :\ I remember a while back, all of my custom spells (like 200+) from my Footman Wars were suddenly within my little melee map, when I hadn't imported them.