• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua TFS 1.2

Itutorial

Legendary OT User
Joined
Dec 23, 2014
Messages
2,461
Solutions
68
Reaction score
1,123
What is the function to call a specific tile. I am trying to check if a player is in a location..

It used to be:

Code:
pos = {x = 1000, y = 1000, z = 7}

check = getThingFromPos(pos).uid

if isPlayer(check) then
return true
end

Whats the code in TFS 1.2 though?
 
Got it. It was just

Code:
Tile(pos):getTopCreature()

Used to be:

Code:
getThingFromPos(pos).uid
 
Last edited:
Back
Top