• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Mass return bug - help to fix

Status
Not open for further replies.
Level 10
Joined
Jul 4, 2007
Messages
130
here is the code:

JASS:
function H2I takes handle h returns integer
return GetHandleId(h)  //<= I just know how to fix this one >.>
endfunction
function I2F takes integer i returns fogmodifier
return i
return null
endfunction
function I2G takes integer i returns group
return i
return null
endfunction
function I2T takes integer i returns texttag
return i
return null
endfunction
function I2U takes integer i returns unit
return i
return null
endfunction
function I2E takes integer i returns effect
return i
return null
endfunction
function I2L takes integer i returns location
return i
return null
endfunction
function I2It takes integer i returns item
return i
return null
endfunction
function I2Li takes integer i returns lightning
return i
return null
endfunction
function I2B takes integer i returns button
return i
return null
endfunction

anyone know how to fix them all?

(btw aren't they all useless exepted handleid since they are handles rite? o_O)
 
Status
Not open for further replies.
Back
Top