1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
addhook("startround","_roundstart") function _roundstart() for y = 0, map"ysize" do for x = 0, map"xsize" do if entity( x, y, "typename") == "Trigger_Use" then if entity( x, y, "name") == "shield" then [VARIABLE]=image( "gfx/flare3.bmp", x * 32 + 16, y * 32 +16, 0) imageblend([VARIABLE],1) end end end end end
How can I set a variable for each tile?