These would be in addition to what we already have, since adjusting the current commands would break it =P
1) ability to load a vnum with a variable
right now it's this:
LOAD_OBJ - load an object and assign it to an obx variable
Parameters: vnum of object
ob1, ob2, ob3 (variable to assign new obj to)
what i would like
LOAD_OBJ_VAR
Parameters: int1, int2, int3 (variable that's the vnum)
ob1, ob2, ob3 (variable to assign new obj to)
2) ability to teleport to a variable
SEND_TO_ROOM and SEND_TO_ROOM_X already let you send to a variable, like chx.room
Current 2 commands
TELEPORT_CHAR - take a character and all npc followers from a room and move to another room. NB no
messages are sent to the rooms - the script must handle messages.
Parameters: vnum of room to move to
ch1, ch2, ch3 (the character to move)
TELEPORT_CHAR_X - take a character (leave followers behind) from a room and move to another room. NB no
messages are sent to the rooms - the script must handle messages.
Parameters: vnum of room to move to
ch1, ch2, ch3 (the character to move)
what I would like
TELEPORT_CHAR_VAR - take a character and all npc followers from a room and move to another room. NB no
messages are sent to the rooms - the script must handle messages.
Parameters: int1, int2, int3 or possible chx.room (variable that's the room num)
ch1, ch2, ch3 (the character to move)
TELEPORT_CHAR_X_VAR - take a character (leave followers behind) from a room and move to another room. NB no
messages are sent to the rooms - the script must handle messages.
Parameters: int1, int2, int3 or possible chx.room (variable that's the room num)
ch1, ch2, ch3 (the character to move)
3) ability to make a mob move
DO_MOVE - makes a mob attempt to move in the direction stated
Parameters rm1, rm2, rm3
exit direction (0-5)
could use a variable like set_exit_state
SET_EXIT_STATE - change exits (open, closed, locked) This command sends
messages to the room(s) concerned and also deals with the "other side" of the
door as in zone files.
Parameters: rm1, rm2, rm3 (the room with the exits)
exit direction (0-5)
exit state (0-2) (see zone help)
From Matt
These would be in addition to what we already have, since adjusting the current commands would break it =P
1) ability to load a vnum with a variable right now it's this: LOAD_OBJ - load an object and assign it to an obx variable
what i would like LOAD_OBJ_VAR
2) ability to teleport to a variable SEND_TO_ROOM and SEND_TO_ROOM_X already let you send to a variable, like chx.room Current 2 commands TELEPORT_CHAR - take a character and all npc followers from a room and move to another room. NB no messages are sent to the rooms - the script must handle messages.
TELEPORT_CHAR_X - take a character (leave followers behind) from a room and move to another room. NB no messages are sent to the rooms - the script must handle messages.
what I would like TELEPORT_CHAR_VAR - take a character and all npc followers from a room and move to another room. NB no messages are sent to the rooms - the script must handle messages.
TELEPORT_CHAR_X_VAR - take a character (leave followers behind) from a room and move to another room. NB no messages are sent to the rooms - the script must handle messages.
3) ability to make a mob move DO_MOVE - makes a mob attempt to move in the direction stated
could use a variable like set_exit_state
SET_EXIT_STATE - change exits (open, closed, locked) This command sends messages to the room(s) concerned and also deals with the "other side" of the door as in zone files.