Expected a name error

envenger

Active Member
Reaction score
3
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
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
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top