HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Creating a Trigger w/ Another Trigger's variables

06-07-2004, 11:40 PM#1
Xinlitik
Nevermind about the original question. I sort of solved it...

I have a different question, though. I keep getting compile errors with this:

Code:
Condition(GetBooleanAnd(IsUnitAlly(GetFilterUnit(),GetOwningPlayer(GetSummonedUnit()) == false), IsUnitType(GetFilterUnit(),UNIT_TYPE_STRUCTURE) == false)))

What is wrong with it...? I checked the number of parentheses and I think it should be right.

Thx
06-08-2004, 05:11 AM#2
Narwanza
You forgot one.

Code:
Condition(GetBooleanAnd(IsUnitAlly(GetFilterUnit()  ,GetOwningPlayer(GetSummonedUnit())[color=red])[/color] == false), IsUnitType(GetFilterUnit(),UNIT_TYPE_STRUCTURE) == false)))
06-08-2004, 06:36 AM#3
Xinlitik
Thanks a lot! Rep given.