HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Error not found by script checker

03-18-2003, 09:56 AM#1
AIAndy
I only tested it with 0.1.0 so I am not sure if it is fixed in later versions.
I had the following line:
if not GetOwningPlayer(u) == ai_player then

The script checker accepted it but not WC3. It seems that not binds stronger to type unit than == . When I changed it to
if not (GetOwningPlayer(u) == ai_player) then
it worked.
03-18-2003, 05:43 PM#2
magnus99
Noted and fixed. I will put up a new release when I have time. If you are savy, you can download the source from cvs and build a new version yourself.