• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[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:
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

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.
 
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.
Back
Top