• 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 Healing mana tiles

marcuz90

New Member
Joined
Apr 19, 2011
Messages
48
Reaction score
0
Hello, I'm trying to make healing mana tiles script, but I'm stuck at
getThingFromPos(). The problem is, getThingFromPos() is trying to get player and player isn't there.
So it returns with error.
How to fix this ??
 
Nvm fixed !! if someone has same error, use player = getTopCreature(pos), check if player.itemid == 1 (1 for player), then doCreatureAddMana(player.uid, mana) -- not player but player.uid.
 
Back
Top