void Npc::onCreatureMove(Creature* creature, const Tile* newTile, const Position& newPos,
const Tile* oldTile, const Position& oldPos, bool teleport)
where to put?You can script it in
if there is a table item then tile height(elevation) is > 0, construct tile from position and check if the height is more than 0, and it should do the trick. No idea tho, if its gonna cancel the move if you return the function, didnt try, just a guess.Code:void Npc::onCreatureMove(Creature* creature, const Tile* newTile, const Position& newPos, const Tile* oldTile, const Position& oldPos, bool teleport)
actually nvm about what I said, I thought you are using 1.x, my bad.where to put?
in creaturescripts?
pfff items.otb editor don't work![]()
put id 1548 on that tileOr use the invisible object that literally blocks anything and everything. xP
1548
sorry for being a noob.put id 1548 on that tile
Omg it work!put id 1548 on that tile