Skip to main content

MOB_OLOAD

Keywords: MOB_OLOAD, MOB_MLOAD
Syntax: MOB MLOAD [vnum] MOB OLOAD [vnum] [level] {'room'/'wear'} The mob mload command creates a mobile and places it in the same room with the mobile, and the mob oload command loads the object into the inventory of the mobile which has the mobile program. Even if the item is non-takable, the mobile will receive it in the inventory. This lets a mobile distribute a quest item or load a key or something. The optional 3rd parameter can be specified; 'room' means to load the object to the room, 'wear' means to force the mobile to wear the object loaded (useful for equipping mobiles on the fly), but don't forget to include the [level], otherwise the 'room' or 'wear'will not work. To transfer objects or mobiles to other rooms you can use the commands mob transfer and mob otransfer too. Examples: MOB MLOAD 3031 This command will load the mobile which has the vnum 3031 in the same room of the mobile. To load mob on other places you can use the command MOB AT before the mob mload command. MOB OLOAD 3021 5 wield This command will load the object 3021 with level 5 and wield it. MOB OLOAD 3010 5 room This command will load the object 3021 with level 5 and left it on the room's ground. To load objects on another rooms you can use the command mob at before the mob oload command.