Provides miniquake2 game integration campaign progression facilities for this project.
# campaignActivateWorld
function campaignActivateWorld(runtime, playerContext, player, entity)
Activate campaign world.
| Parameter | Type | Default | Description |
|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
entity | dynamic | — | entity value consumed by this operation. |
View source
# campaignDriveTarget
function campaignDriveTarget(runtime, playerContext, player, targetName, visited, depth)
Return the campaign drive target value.
| Parameter | Type | Default | Description |
|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
targetName | dynamic | — | targetName value consumed by this operation. |
visited | dynamic | — | visited value consumed by this operation. |
depth | dynamic | — | depth value consumed by this operation. |
View source
# campaignPickupKey
function campaignPickupKey(runtime, playerContext, player, itemClassName)
Pick up campaign key.
| Parameter | Type | Default | Description |
|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
itemClassName | dynamic | — | itemClassName value consumed by this operation. |
View source
# campaignPlayer
function campaignPlayer(playerContext)
Return the campaign player value.
| Parameter | Type | Default | Description |
|---|
playerContext | dynamic | — | playerContext value consumed by this operation. |
View source
# campaignVisited
function campaignVisited(visited, number)
Return the campaign visited value.
| Parameter | Type | Default | Description |
|---|
visited | dynamic | — | visited value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
View source
# driveToMap
function driveToMap(runtime, playerContext, requestedMap)
Map drive to.
| Parameter | Type | Default | Description |
|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
requestedMap | dynamic | — | requestedMap value consumed by this operation. |
View source