Noob Code Not Working

B

Beelzebubson

Guest
Hi, im just learning jass and im trying to experiment with a few things and ive got a trigger that i want to spawn a certain amount of footman and then display a certain integer and its not working. Can someone help?


The higlighted line has somethig wrong with it.

Code:
function Trig_Unit_Spawning_Actions takes nothing returns nothing
 local integer array a
    set a[1]=1
    set a[2]=54
    call CreateNUnitsAtLoc( a[1], 'hfoo', Player(0), GetRectCenter(GetPlayableMapRect()), bj_UNIT_FACING )
    [COLOR=Yellow]call DisplayTextToForce( GetAllPlayers(), I2S(a[2])[/COLOR]
endfunction
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top