Here is my Question:
I've got a crazy question!
How can I check the position from an entity (e.g.: trigger_use) and if the position is 1,1 then msg("Hello")?
Example:
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("use","wtf") function wtf(id,event,data,x,y) 	if [entity-x]==1 and [entity-y]==1 then 		msg("Hello") 	end end -- [entity-x] and [entity-y] is the command what I search!
I know its work with the map-editor but I want to make it per lua!