MiniQuake2

src/miniquake2/game/integration/campaign_progression.ml

Provides miniquake2 game integration campaign progression facilities for this project.

Package
miniquake2.game.integration.campaign_progression
Reachable
Yes

Imports

Declarations

campaignActivateWorld

function campaignActivateWorld(runtime, playerContext, player, entity)

Activate campaign world.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
playerContextdynamic—playerContext value consumed by this operation.
playerdynamic—player value consumed by this operation.
entitydynamic—entity value consumed by this operation.

View source

campaignDriveTarget

function campaignDriveTarget(runtime, playerContext, player, targetName, visited, depth)

Return the campaign drive target value.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
playerContextdynamic—playerContext value consumed by this operation.
playerdynamic—player value consumed by this operation.
targetNamedynamic—targetName value consumed by this operation.
visiteddynamic—visited value consumed by this operation.
depthdynamic—depth value consumed by this operation.

View source

campaignKillMonster

function campaignKillMonster(runtime, actor)

Kill campaign monster.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
actordynamic—actor value consumed by this operation.

View source

campaignPickupKey

function campaignPickupKey(runtime, playerContext, player, itemClassName)

Pick up campaign key.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
playerContextdynamic—playerContext value consumed by this operation.
playerdynamic—player value consumed by this operation.
itemClassNamedynamic—itemClassName value consumed by this operation.

View source

campaignPlayer

function campaignPlayer(playerContext)

Return the campaign player value.

ParameterTypeDefaultDescription
playerContextdynamic—playerContext value consumed by this operation.

View source

miniquake2.game.integration.campaign_progression.CampaignProgressResult struct

campaignVisited

function campaignVisited(visited, number)

Return the campaign visited value.

ParameterTypeDefaultDescription
visiteddynamic—visited value consumed by this operation.
numberdynamic—number value consumed by this operation.

View source

driveToMap

function driveToMap(runtime, playerContext, requestedMap)

Map drive to.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
playerContextdynamic—playerContext value consumed by this operation.
requestedMapdynamic—requestedMap value consumed by this operation.

View source

normalizedMapName

function normalizedMapName(mapSpec)

Map normalized name.

ParameterTypeDefaultDescription
mapSpecdynamic—mapSpec value consumed by this operation.

View source