• 🏆 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!

jass and jesp spells cannot be in one map?

Status
Not open for further replies.
Level 8
Joined
Jun 13, 2008
Messages
346
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