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

/attr pos

Lbtg

Advanced OT User
Joined
Nov 22, 2008
Messages
2,398
Reaction score
165
whsts the right command

/attr pos 997 997 7
/attr position 997 997 7
/attr destination 997 997 7

doesnt works
 
Code:
                        else if(action == "destination" || action == "position"
                                || action == "pos" || action == "dest") [COLOR="#FF0000"][B]//TODO: doesn't work[/B][/COLOR]
                        {
                                if(Teleport* teleport = item->getTeleport())
                                        teleport->setDestination(Position(atoi(parseParams(it,
                                                tokens.end()).c_str()), atoi(parseParams(it, tokens.end()).c_str()),
                                                atoi(parseParams(it, tokens.end()).c_str())));
                        }
If it worked it would be /attr {destination, position, pos or dest} pos.x, pos.y, pos.z.
 
Last edited:
it can be done realy simple as talkaction...

but if i were creating it i propapbly use this way even noob as you can do it i gues...

thats about i thinking...

LUA:
doCreateTeleport(1387, param, param)
 
Back
Top