• 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.

jass and jesp spells cannot be in one map?

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