• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

jass and jesp spells cannot be in one map?

Status
Not open for further replies.
Level 8
Joined
Jun 13, 2008
Messages
353
hello guys I have a big problem. first of all, I upload two jass spells and works in game but after I upload a good jesp spell and save the map its giving a error.

I don't understand what its say. the error is:


what I gotta do? help me please...
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
Change:

JASS:
function DamagerGroupEnum takes nothing returns nothing
    call GroupAddUnit(bj_groupAddGroupDest, GetFilterUnit())
endfunction

to

JASS:
function DamagerGroupEnum takes nothing returns boolean
    call GroupAddUnit(bj_groupAddGroupDest, GetFilterUnit())
    return false
endfunction

--

If he wasn't using JNGP he wouldn't get this error.
 
Change:

JASS:
function DamagerGroupEnum takes nothing returns nothing
    call GroupAddUnit(bj_groupAddGroupDest, GetFilterUnit())
endfunction

to

JASS:
function DamagerGroupEnum takes nothing returns boolean
    call GroupAddUnit(bj_groupAddGroupDest, GetFilterUnit())
    return false
endfunction

--

If he wasn't using JNGP he wouldn't get this error.

Thats pretty much the same thing I said.
 
Status
Not open for further replies.
Top