• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Invalid Loop Arguments??!

Status
Not open for further replies.
Level 16
Joined
Jul 31, 2012
Messages
2,217
Okay, i don't really know where does the problem come from, and it's not a trigger failure or something:
When saving the system with JNGP, no errors pop up
When saving it with normal WE, those errors pop up:
vtNTZfl.png

The Script and Test map can be found here

~Thanks
 
Last edited:
Level 22
Joined
Sep 24, 2005
Messages
4,821
JASS:
call GroupEnumUnitsInRange(g, x, y, KB3D_AlwaysPos(AoE), function KB3D_True)

JASS:
call GroupEnumUnitsInRange(g, x, y, KB3D_AlwaysPos(AoE), Filter(function KB3D_True))

or

JASS:
call GroupEnumUnitsInRange(g, x, y, KB3D_AlwaysPos(AoE), Condition(function KB3D_True))

I've attached a fixed map.
 

Attachments

  • fixed.w3x
    75.2 KB · Views: 71
Level 22
Joined
Sep 24, 2005
Messages
4,821
Syntax errors? the fixed map has none, I tested it already.
EDIT: Oh I forgot to tell you, there were 4 or 5 of those I fixed.
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
I fixed 5 GroupEnums dude, but I only posted one because I uploaded the fixed map. Did you download the map I attached?
 
Status
Not open for further replies.
Top