hi guys....
I am back to worldeditor after a very long time and jass too..
I copy pasted a function for placing images on the map from another trigger. The problem i have is i get a error Expected a name
I am back to worldeditor after a very long time and jass too..
I copy pasted a function for placing images on the map from another trigger. The problem i have is i get a error Expected a name
JASS:
globals
function CreateImageEx takes string S, real SizeX, real SizeY, real PosX, real PosY, real PosZ, boolean Show returns image
local image i = CreateImage(S, SizeX, SizeY, 0, PosX - (SizeX / 2), PosY - (SizeY / 2), PosZ, 0, 0, 0, 2)
call SetImageRenderAlways(i, true)
call ShowImage(i, Show)
return i
endfunction
endglobals