WLD - world manipulation functions
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
Example usage | |
---|---|
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
Example usage | |
---|---|
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
Example usage | |
---|---|
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
Example usage | |
---|---|
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
Example usage | |
---|---|
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
Example usage | |
---|---|
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
Example usage | |
---|---|
Wld_InsertVobPos
Inserts a vob into the world at exact coordinates.
vobName
- name of vob in the game worldvobPosition
- coordinates (X, Y, Z) in the game world
Example usage | |
---|---|
Wld_InsertMobPos
Inserts a mob into the world at exact coordinates.
vobName
- name of vob in the game worldvobPosition
- coordinates (X, Y, Z) in the game world
Example usage | |
---|---|
Wld_InsertMobInterPos
Inserts an interactive mob into the world at exact coordinates.
vobName
- name of vob in the game worldvobPosition
- coordinates (X, Y, Z) in the game world
Example usage | |
---|---|
Wld_InsertMobContainerPos
Inserts a container mob into the world at exact coordinates.
vobName
- name of vob in the game worldvobPosition
- coordinates (X, Y, Z) in the game world
Example usage | |
---|---|
Wld_InsertMobFirePos
Inserts a fire mob into the world at exact coordinates.
vobName
- name of vob in the game worldvobPosition
- coordinates (X, Y, Z) in the game world
Example usage | |
---|---|
Wld_InsertMobDoorPos
Inserts a door mob into the world at exact coordinates.
vobName
- name of vob in the game worldvobPosition
- coordinates (X, Y, Z) in the game world
Example usage | |
---|---|
Wld_InsertMobBedPos
Inserts a bed mob into the world at exact coordinates.
vobName
- name of vob in the game worldvobPosition
- coordinates (X, Y, Z) in the game world
Example usage | |
---|---|
Wld_RemoveVob
Removes a specified vob from the game world.
vobName
- name of vob in the game worldreturn
-TRUE
if the vob has been correctly removed,FALSE
otherwise
Wld_GetPos
Creates and returns a C_Position
object from the given coordinates or angles.
posX
- position or angle in X axisposY
- position or angle in Y axisposZ
- position or angle in Z axisreturn
- C_Position
Example usage | |
---|---|
Wld_GetPlayerPortalRoom
Returns name of portal room where the player currently is.
return
- name of player's portal room