• 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!

Lua [TFS 1.3] How to check container origin when you move and item from/to it?

Joe Rod

Discord: joerod1
Joined
Mar 16, 2011
Messages
499
Solutions
2
Reaction score
172
GitHub
joerod1
When you move an item from a container, its position.x is 0xFFFF
If is from an equipment slot, position.y it will be the slot

How do i check origin when you move an item from/to a container?
I mean, player equipment (some equipment slot or a container who a player has on his/her inventory) or a container item located on a tile.


Thanks in advance
 
Last edited:
Back
Top