http://www.cs2d.com/help.php?luacat=entity&luacmd=inentityzone#cmd
i'm used to the codes above:
1
2
3
4
5
2
3
4
5
local check_x = player(id,"tilex") 	local check_y = player(id,"tiley") 	if inentityzone(check_x, check_y, "Env_Room") then 	 msg("Working") 	end
inentityzone(check_x, check_y, 33)
used also number of Env_Room in the map editor if we count first entity from 0:
inentityzone(check_x, check_y,32)
used also the 8-th number as with the inentityzone by the list
inentityzone(check_x, check_y, 8)
What did i do wrong?
Well, the 32 method is working, but is only show me "Working" message only when i step exactly on the ENTITY PLACEMENT position, but not it's area and working it on ALL entities.
/LMAO i edited post like 5 times and still cannot recognize how does it work, ee