Commands
Commands
Ok sorry to be asking so many questions but back when i used to have servers back in the day i remember a command that allowed me to move objects by values based on x y z coordinates i thought it was xmove or something like that is there still something like that? or not and if so what? also is there a more extensive list of commands i looked through whats posted here and id like to know if theres more i don't need what they do just what are they.
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
There is no such thing as asking too many questions. 
Here are some commands you can use to move stuff with:
'INCX # (move an item along the X-axis)
'INCY # (move an item along the Y-axis)
'INCZ # (move an item along the Z-axis)
'SET X (move an item to a specific X-coordinate)
'SET Y (move an item to a specific Y-coordinate)
'SET Z (move an item to a specific Z-coordinate)
'TELESTUFF <target> <targetlocation> (Move a targeted item to a targeted location)
'MOVETOBAG (teleport an item to your own backpack)
'XTELEPORT <target> (teleport a target to your character's feet)
'XTELEPORT # (teleports player logged into connection slot # to your feet)
'XTELEPORT # # # # (teleports player with serial # # # # to your feet)
Also check out the full command-list
Here are some commands you can use to move stuff with:
'INCX # (move an item along the X-axis)
'INCY # (move an item along the Y-axis)
'INCZ # (move an item along the Z-axis)
'SET X (move an item to a specific X-coordinate)
'SET Y (move an item to a specific Y-coordinate)
'SET Z (move an item to a specific Z-coordinate)
'TELESTUFF <target> <targetlocation> (Move a targeted item to a targeted location)
'MOVETOBAG (teleport an item to your own backpack)
'XTELEPORT <target> (teleport a target to your character's feet)
'XTELEPORT # (teleports player logged into connection slot # to your feet)
'XTELEPORT # # # # (teleports player with serial # # # # to your feet)
Also check out the full command-list
-= Ho Eyo He Hum =-
ok well ill be a bit more specific then there are a few commands id like to see that will make everyone's decorating much easyer
ok the above mentioned also with that one that moves your self the same with with out a targeting thing
I'm also dieing for nudgeup and nudgedown moves z up or down 1 respectively although i could do it with the other command just easyer to remember that way... oh how about a turn command for items that can be turned of corse
Please......... =)
ok the above mentioned also with that one that moves your self the same with with out a targeting thing
I'm also dieing for nudgeup and nudgedown moves z up or down 1 respectively although i could do it with the other command just easyer to remember that way... oh how about a turn command for items that can be turned of corse
Please......... =)
-
Mindless Automaton
- UOX3 Apprentice
- Posts: 189
- Joined: Wed May 10, 2006 3:48 am
- Has thanked: 0
- Been thanked: 1 time
- Contact:
isn't it just:
Throw in some diagonal, assuming N (north) is +y, E (east) is +x, etc.)
It might even work if I tested it.
Not sure about using TurnTowards on items though..
Code: Select all
function CommandRegistration()
{
RegisterCommand( "nup", 2, true );
RegisterCommand( "ndown", 2, true );
RegisterCommand( "incne", 2, true );
RegisterCommand( "incnw", 2, true );
RegisterCommand( "incse", 2, true );
RegisterCommand( "incsw", 2, true );
}
function command_NUP( socket )
{
var targMsg = GetDictionaryEntry( 254, socket.Language );
socket.CustomTarget( 0, targMsg );
}
function onCallback0( socket, ourObj )
{
if( !socket.GetWord( 1 ) )
ourObj.z = (ourObj.z + 1);
}
function command_NDOWN( socket )
{
var targMsg = GetDictionaryEntry( 254, socket.Language );
socket.CustomTarget( 0, targMsg );
}
function onCallback0( socket, ourObj )
{
if( !socket.GetWord( 1 ) )
ourObj.z = (ourObj.z - 1);
}
function command_INCNE( socket )
{
var targMsg = GetDictionaryEntry( 254, socket.Language );
socket.CustomTarget( 0, targMsg );
}
function onCallback0( socket, ourObj )
{
if( !socket.GetWord( 1 ) )
ourObj.x = (ourObj.x + 1);
ourObj.y = (ourObj.y + 1);
}
function command_INCNW( socket )
{
var targMsg = GetDictionaryEntry( 254, socket.Language );
socket.CustomTarget( 0, targMsg );
}
function onCallback0( socket, ourObj )
{
if( !socket.GetWord( 1 ) )
ourObj.x = (ourObj.x - 1);
ourObj.y = (ourObj.y + 1);
}
function command_INCSE( socket )
{
var targMsg = GetDictionaryEntry( 254, socket.Language );
socket.CustomTarget( 0, targMsg );
}
function onCallback0( socket, ourObj )
{
if( !socket.GetWord( 1 ) )
ourObj.x = (ourObj.x + 1);
ourObj.y = (ourObj.y - 1);
}
function command_INCSW( socket )
{
var targMsg = GetDictionaryEntry( 254, socket.Language );
socket.CustomTarget( 0, targMsg );
}
function onCallback0( socket, ourObj )
{
if( !socket.GetWord( 1 ) )
ourObj.x = (ourObj.x - 1);
ourObj.y = (ourObj.y - 1);
}
It might even work if I tested it.
Not sure about using TurnTowards on items though..
Mindless Automaton
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)
-
Mindless Automaton
- UOX3 Apprentice
- Posts: 189
- Joined: Wed May 10, 2006 3:48 am
- Has thanked: 0
- Been thanked: 1 time
- Contact: