WLD – world manipulation functions¶
zDExt_Wld_InsertVob¶
Inserts a vob into the world at the position of a given waypoint, freepoint, or another vob.
vobName– name of vob in the game worldpointName– name of waypoint, freepoint or vob in the game world
zDExt_Wld_InsertMob¶
Inserts a static interactive object (mob) into the world at a given location.
vobName– name of vob in the game worldpointName– name of waypoint, freepoint or vob in the game world
zDExt_Wld_InsertMobInter¶
Inserts an interactive mob (e.g., cauldron, forge) into the world at a given location.
vobName– name of vob in the game worldpointName– name of waypoint, freepoint or vob in the game world
zDExt_Wld_InsertMobContainer¶
Inserts a container mob (e.g., chest) into the world at a given location.
vobName– name of vob in the game worldpointName– name of waypoint, freepoint or vob in the game world
zDExt_Wld_InsertMobFire¶
Inserts a fire mob (e.g., campfire, torch) into the world at a given location.
vobName– name of vob in the game worldpointName– name of waypoint, freepoint or vob in the game world
zDExt_Wld_InsertMobDoor¶
Inserts a door mob into the world at a given location.
vobName– name of vob in the game worldpointName– name of waypoint, freepoint or vob in the game world
zDExt_Wld_InsertMobBed¶
Inserts a bed mob into the world at a given location.
vobName– name of vob in the game worldpointName– name of waypoint, freepoint or vob in the game world
zDExt_Wld_InsertVobPos¶
Inserts a vob into the world at exact coordinates.
vobName– name of vob in the game worldposX– X coordinate in the game worldposY– Y coordinate in the game worldposZ– Z coordinate in the game world
zDExt_Wld_InsertMobPos¶
Inserts a mob into the world at exact coordinates.
vobName– name of vob in the game worldposX– X coordinate in the game worldposY– Y coordinate in the game worldposZ– Z coordinate in the game world
zDExt_Wld_InsertMobInterPos¶
Inserts an interactive mob into the world at exact coordinates.
func void zDExt_Wld_InsertMobInterPos(var string vobName, var int posX, var int posY, var int posZ) {};
vobName– name of vob in the game worldposX– X coordinate in the game worldposY– Y coordinate in the game worldposZ– Z coordinate in the game world
zDExt_Wld_InsertMobContainerPos¶
Inserts a container mob into the world at exact coordinates.
func void zDExt_Wld_InsertMobContainerPos(var string vobName, var int posX, var int posY, var int posZ) {};
vobName– name of vob in the game worldposX– X coordinate in the game worldposY– Y coordinate in the game worldposZ– Z coordinate in the game world
zDExt_Wld_InsertMobFirePos¶
Inserts a fire mob into the world at exact coordinates.
func void zDExt_Wld_InsertMobFirePos(var string vobName, var int posX, var int posY, var int posZ) {};
vobName– name of vob in the game worldposX– X coordinate in the game worldposY– Y coordinate in the game worldposZ– Z coordinate in the game world
zDExt_Wld_InsertMobDoorPos¶
Inserts a door mob into the world at exact coordinates.
func void zDExt_Wld_InsertMobDoorPos(var string vobName, var int posX, var int posY, var int posZ) {};
vobName– name of vob in the game worldposX– X coordinate in the game worldposY– Y coordinate in the game worldposZ– Z coordinate in the game world
zDExt_Wld_InsertMobBedPos¶
Inserts a bed mob into the world at exact coordinates.
func void zDExt_Wld_InsertMobBedPos(var string vobName, var int posX, var int posY, var int posZ) {};
vobName– name of vob in the game worldposX– X coordinate in the game worldposY– Y coordinate in the game worldposZ– Z coordinate in the game world
zDExt_Wld_RemoveVob¶
Removes a specified vob from the game world.
vobName– name of vob in the game worldreturn–TRUEif the vob has been correctly removed,FALSEotherwise
zDExt_Wld_GetPlayerPortalRoom¶
Gets name of portal room where the player currently is.
return- name of player's portal room
var string playerPortalRoom;
playerPortalRoom = zDExt_Wld_GetPlayerPortalRoom();
if (Hlp_StrCmp(playerPortalRoom, "hütte2"))
{
//...
};
Note
You can also use zDExt_Npc_GetPortalRoom instead.