• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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