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