MiniQuake2

src/miniquake2/game/ai/attack_sequences.ml

Provides miniquake2 game ai attack sequences facilities for this project.

Package
miniquake2.game.ai.attack_sequences
Reachable
Yes

Imports

Declarations

actorMachinegunPlan

function actorMachinegunPlan(raw)

Return the actor machinegun plan value.

ParameterTypeDefaultDescription
rawdynamic—raw value consumed by this operation.

View source

actorMachinegunPlanShots

function actorMachinegunPlanShots(shotCount)

Return the actor machinegun plan shots value.

ParameterTypeDefaultDescription
shotCountdynamic—Number of shot to process.

View source

ATTACK_AI_CHARGE

const ATTACK_AI_CHARGE = 1

Defines the attack ai charge constant used by the miniquake2 game ai attack sequences module.

View source

ATTACK_AI_MOVE

const ATTACK_AI_MOVE = 2

Defines the attack ai move constant used by the miniquake2 game ai attack sequences module.

View source

ATTACK_AI_NONE

const ATTACK_AI_NONE = 0

Defines the attack ai none constant used by the miniquake2 game ai attack sequences module.

View source

attackPlan

function attackPlan(className, name, attackKind, damage, knockback, speed, splashRadius, maximumRange, count, frameOffsets, muzzleFlashes, durationFrames)

Run plan.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
namedynamic—Name of the affected item.
attackKinddynamic—attackKind value consumed by this operation.
damagedynamic—damage value consumed by this operation.
knockbackdynamic—knockback value consumed by this operation.
speeddynamic—speed value consumed by this operation.
splashRadiusdynamic—splashRadius value consumed by this operation.
maximumRangedynamic—maximumRange value consumed by this operation.
countdynamic—Number of items or units to process.
frameOffsetsdynamic—frameOffsets value consumed by this operation.
muzzleFlashesdynamic—muzzleFlashes value consumed by this operation.
durationFramesdynamic—durationFrames value consumed by this operation.

View source

berserkMeleePlan

function berserkMeleePlan(actorNumber, attackCount)

Return the berserk melee plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

berserkPlanWithRaw

function berserkPlanWithRaw(raw)

Return the berserk plan with raw value.

ParameterTypeDefaultDescription
rawdynamic—raw value consumed by this operation.

View source

boss2MachinegunPlan

function boss2MachinegunPlan(actorNumber, attackCount)

Return the boss 2 machinegun plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

boss2MachinegunPlanCycles

function boss2MachinegunPlanCycles(cycles)

Return the boss 2 machinegun plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

boss2PlanWithRoll

function boss2PlanWithRoll(actorNumber, attackCount, distance, roll)

Return the boss 2 plan with roll value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
distancedynamic—distance value consumed by this operation.
rolldynamic—roll value consumed by this operation.

View source

boss2RocketPlan

function boss2RocketPlan()

Return the boss 2 rocket plan value.

View source

boundedAttackOffset

function boundedAttackOffset(plan, timelineOffset)

Run bounded offset.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

brainClawDistances

brainClawDistances

Stores module-wide brain claw distances state for the miniquake2 game ai attack sequences module.

View source

brainClawPlan

function brainClawPlan()

Return the brain claw plan value.

View source

brainPlanWithRoll

function brainPlanWithRoll(skill, roll)

Return the brain plan with roll value.

ParameterTypeDefaultDescription
skilldynamic—skill value consumed by this operation.
rolldynamic—roll value consumed by this operation.

View source

brainTentacleDistances

brainTentacleDistances

Stores module-wide brain tentacle distances state for the miniquake2 game ai attack sequences module.

View source

brainTentaclePlan

function brainTentaclePlan(skill)

Return the brain tentacle plan value.

ParameterTypeDefaultDescription
skilldynamic—skill value consumed by this operation.

View source

chickMeleePlan

function chickMeleePlan(actorNumber, attackCount)

Return the chick melee plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

chickMeleePlanCycles

function chickMeleePlanCycles(cycles)

Return the chick melee plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

chickRocketCycleDistances

chickRocketCycleDistances

Stores module-wide chick rocket cycle distances state for the miniquake2 game ai attack sequences module.

View source

chickRocketEndDistances

chickRocketEndDistances

Stores module-wide chick rocket end distances state for the miniquake2 game ai attack sequences module.

View source

chickRocketPlan

function chickRocketPlan(actorNumber, attackCount)

Return the chick rocket plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

chickRocketPlanCycles

function chickRocketPlanCycles(cycles)

Return the chick rocket plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

chickRocketStartDistances

chickRocketStartDistances

Stores module-wide chick rocket start distances state for the miniquake2 game ai attack sequences module.

View source

chickSlashCycleDistances

chickSlashCycleDistances

Stores module-wide chick slash cycle distances state for the miniquake2 game ai attack sequences module.

View source

chickSlashEndDistances

chickSlashEndDistances

Stores module-wide chick slash end distances state for the miniquake2 game ai attack sequences module.

View source

chickSlashStartDistances

chickSlashStartDistances

Stores module-wide chick slash start distances state for the miniquake2 game ai attack sequences module.

View source

clampTimelineOffset

function clampTimelineOffset(plan, timelineOffset)

Clamp timeline offset.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

deterministicValue

function deterministicValue(actorNumber, attackCount, salt, modulus)

Return the deterministic value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
saltdynamic—salt value consumed by this operation.
modulusdynamic—modulus value consumed by this operation.

View source

eventDamage

inline function eventDamage(plan, eventIndex)

Return the event damage value.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
eventIndexdynamic—Zero-based index of event.

View source

eventKnockback

inline function eventKnockback(plan, eventIndex)

Return the event knockback value.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
eventIndexdynamic—Zero-based index of event.

View source

eventSourceFlash

inline function eventSourceFlash(plan, eventIndex)

Return the event source flash value.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
eventIndexdynamic—Zero-based index of event.

View source

eventUsesHyperblasterEffect

inline function eventUsesHyperblasterEffect(plan, eventIndex)

Return the event uses hyperblaster effect value.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
eventIndexdynamic—Zero-based index of event.

View source

fallbackPlan

function fallbackPlan(className)

Return the fallback plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.

View source

flipperBitePlan

function flipperBitePlan()

Return the flipper bite plan value.

View source

floaterBlasterPlan

function floaterBlasterPlan()

Return the floater blaster plan value.

View source

floaterPlanWithRoll

function floaterPlanWithRoll(distance, roll)

Return the floater plan with roll value.

ParameterTypeDefaultDescription
distancedynamic—distance value consumed by this operation.
rolldynamic—roll value consumed by this operation.

View source

floaterWhamPlan

function floaterWhamPlan()

Return the floater wham plan value.

View source

floaterZapPlan

function floaterZapPlan()

Return the floater zap plan value.

View source

flyerBlasterDistances

flyerBlasterDistances

Stores module-wide flyer blaster distances state for the miniquake2 game ai attack sequences module.

View source

flyerBlasterPlan

function flyerBlasterPlan()

Return the flyer blaster plan value.

View source

flyerMeleePlan

function flyerMeleePlan()

Return the flyer melee plan value.

View source

flyerMeleePlanCycles

function flyerMeleePlanCycles(cycles)

Return the flyer melee plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

FRAME_TIME

const FRAME_TIME = 0.1

Defines the frame time constant used by the miniquake2 game ai attack sequences module.

View source

frameSoundAt

function frameSoundAt(plan, timelineOffset)

Return the frame sound for the requested position.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

frameSoundAttenuationAt

function frameSoundAttenuationAt(plan, timelineOffset)

Return the frame sound attenuation for the requested position.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

frameSoundChannelAt

function frameSoundChannelAt(plan, timelineOffset)

Return the frame sound channel for the requested position.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

gladiatorMeleePlan

function gladiatorMeleePlan()

Return the gladiator melee plan value.

View source

gladiatorRailPlan

function gladiatorRailPlan()

Return the gladiator rail plan value.

View source

gunnerChainPlan

function gunnerChainPlan(actorNumber, attackCount)

Return the gunner chain plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

gunnerChainPlanCycles

function gunnerChainPlanCycles(cycles)

Return the gunner chain plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

gunnerGrenadePlan

function gunnerGrenadePlan()

Return the gunner grenade plan value.

View source

gunnerPlanWithRoll

function gunnerPlanWithRoll(actorNumber, attackCount, distance, roll)

Return the gunner plan with roll value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
distancedynamic—distance value consumed by this operation.
rolldynamic—roll value consumed by this operation.

View source

hoverBlasterPlan

function hoverBlasterPlan(actorNumber, attackCount)

Return the hover blaster plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

hoverBlasterPlanCycles

function hoverBlasterPlanCycles(cycles)

Return the hover blaster plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

hoverCycleDistances

hoverCycleDistances

Stores module-wide hover cycle distances state for the miniquake2 game ai attack sequences module.

View source

hoverEndDistances

hoverEndDistances

Stores module-wide hover end distances state for the miniquake2 game ai attack sequences module.

View source

hoverStartDistances

hoverStartDistances

Stores module-wide hover start distances state for the miniquake2 game ai attack sequences module.

View source

infantryMachinegunDistances

infantryMachinegunDistances

Exact movement columns from the Quake II 3.19 mframe_t attack tables. Keep

View source

infantryMeleePlan

function infantryMeleePlan()

Return the infantry melee plan value.

View source

infantryPlan

function infantryPlan(actorNumber, attackCount)

Return the infantry plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

infantryPlanShots

function infantryPlanShots(shotCount)

Return the infantry plan shots value.

ParameterTypeDefaultDescription
shotCountdynamic—Number of shot to process.

View source

infantryPunchDistances

infantryPunchDistances

Stores module-wide infantry punch distances state for the miniquake2 game ai attack sequences module.

View source

jorgBfgPlan

function jorgBfgPlan()

Return the jorg bfg plan value.

View source

jorgPlan

function jorgPlan(actorNumber, attackCount)

Return the jorg plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

jorgPlanCycles

function jorgPlanCycles(cycles)

Return the jorg plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

jorgPlanWithRoll

function jorgPlanWithRoll(actorNumber, attackCount, roll)

Return the jorg plan with roll value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
rolldynamic—roll value consumed by this operation.

View source

makronBfgPlan

function makronBfgPlan()

Return the makron bfg plan value.

View source

makronHyperblasterPlan

function makronHyperblasterPlan()

Return the makron hyperblaster plan value.

View source

makronPlanWithRoll

function makronPlanWithRoll(roll)

Return the makron plan with roll value.

ParameterTypeDefaultDescription
rolldynamic—roll value consumed by this operation.

View source

makronRailPlan

function makronRailPlan()

Return the makron rail plan value.

View source

medicBlasterDistances

medicBlasterDistances

Stores module-wide medic blaster distances state for the miniquake2 game ai attack sequences module.

View source

medicBlasterPlan

function medicBlasterPlan(actorNumber, attackCount)

Return the medic blaster plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

medicBlasterPlanContinue

function medicBlasterPlanContinue(includeHyper)

Return the medic blaster plan continue value.

ParameterTypeDefaultDescription
includeHyperdynamic—includeHyper value consumed by this operation.

View source

medicCableDistances

medicCableDistances

Stores module-wide medic cable distances state for the miniquake2 game ai attack sequences module.

View source

medicCablePlan

function medicCablePlan()

Return the medic cable plan value.

View source

modelFrameAt

function modelFrameAt(plan, timelineOffset)

Performs the modelFrameAt operation for the miniquake2 game ai attack sequences module.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

miniquake2.game.ai.attack_sequences.MonsterAttackPlan struct

movementAiAt

function movementAiAt(plan, timelineOffset)

Return the movement ai for the requested position.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

movementDistanceAt

function movementDistanceAt(plan, timelineOffset)

Return the movement distance for the requested position.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
timelineOffsetdynamic—timelineOffset value consumed by this operation.

View source

mutantJumpDistances

mutantJumpDistances

Stores module-wide mutant jump distances state for the miniquake2 game ai attack sequences module.

View source

mutantJumpPlan

function mutantJumpPlan()

Return the mutant jump plan value.

View source

mutantMeleePlan

function mutantMeleePlan()

Return the mutant melee plan value.

View source

mutantMeleePlanCycles

function mutantMeleePlanCycles(cycles)

Return the mutant melee plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

parasiteDrainDistances

parasiteDrainDistances

Stores module-wide parasite drain distances state for the miniquake2 game ai attack sequences module.

View source

parasiteDrainPlan

function parasiteDrainPlan()

Drain parasite plan.

View source

planByName

function planByName(className, name, actorNumber, attackCount)

Return the plan by name.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
namedynamic—Name of the affected item.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

planByNameCycles

function planByNameCycles(className, name, actorNumber, attackCount, cycles)

Return the plan by name cycles value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
namedynamic—Name of the affected item.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
cyclesdynamic—cycles value consumed by this operation.

View source

repeatedCycleCount

function repeatedCycleCount(actorNumber, attackCount, salt, chancePercent, maximumCycles)

Return the repeated cycle count.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
saltdynamic—salt value consumed by this operation.
chancePercentdynamic—chancePercent value consumed by this operation.
maximumCyclesdynamic—maximumCycles value consumed by this operation.

View source

selectionRandomKind

function selectionRandomKind(className, distance)

Return the selection random kind value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
distancedynamic—distance value consumed by this operation.

View source

selectPlan

function selectPlan(className, actorNumber, attackCount, distance, skill)

Select plan.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
distancedynamic—distance value consumed by this operation.
skilldynamic—skill value consumed by this operation.

View source

soldierAttackFlash

function soldierAttackFlash(className, flashNumber)

Run soldier flash.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
flashNumberdynamic—flashNumber value consumed by this operation.

View source

soldierDodgeUsesAttack

inline function soldierDodgeUsesAttack(skill, roll)

Run soldier dodge uses.

ParameterTypeDefaultDescription
skilldynamic—skill value consumed by this operation.
rolldynamic—roll value consumed by this operation.

View source

soldierDuckShootPlan

function soldierDuckShootPlan(className)

Return the soldier duck shoot plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.

View source

soldierLightPlanCycles

function soldierLightPlanCycles(className, secondAttack, cycles)

Return the soldier light plan cycles value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
secondAttackdynamic—secondAttack value consumed by this operation.
cyclesdynamic—cycles value consumed by this operation.

View source

soldierMachinegunPlanShots

function soldierMachinegunPlanShots(className, shotCount)

Return the soldier machinegun plan shots value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
shotCountdynamic—Number of shot to process.

View source

soldierPlan

function soldierPlan(className, actorNumber, attackCount)

Return the soldier plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

soldierPlanVariant

function soldierPlanVariant(className, actorNumber, attackCount, secondAttack)

Return the soldier plan variant value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
secondAttackdynamic—secondAttack value consumed by this operation.

View source

soldierPlanWithRoll

function soldierPlanWithRoll(className, actorNumber, attackCount, roll)

Return the soldier plan with roll value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
rolldynamic—roll value consumed by this operation.

View source

soldierRunShootDistances

soldierRunShootDistances

Stores module-wide soldier run shoot distances state for the miniquake2 game ai attack sequences module.

View source

soldierRunShootPlanCycles

function soldierRunShootPlanCycles(className, cycles)

Run soldier shoot plan cycles.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
cyclesdynamic—cycles value consumed by this operation.

View source

soldierShotgunPlanCycles

function soldierShotgunPlanCycles(className, secondAttack, cycles)

Return the soldier shotgun plan cycles value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
secondAttackdynamic—secondAttack value consumed by this operation.
cyclesdynamic—cycles value consumed by this operation.

View source

soldierSpecialPlan

function soldierSpecialPlan(className, name, offsets, flashes, duration)

Return the soldier special plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
namedynamic—Name of the affected item.
offsetsdynamic—offsets value consumed by this operation.
flashesdynamic—flashes value consumed by this operation.
durationdynamic—duration value consumed by this operation.

View source

supertankMachinegunPlan

function supertankMachinegunPlan(actorNumber, attackCount)

Return the supertank machinegun plan value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.

View source

supertankMachinegunPlanCycles

function supertankMachinegunPlanCycles(cycles)

Return the supertank machinegun plan cycles value.

ParameterTypeDefaultDescription
cyclesdynamic—cycles value consumed by this operation.

View source

supertankPlanWithRoll

function supertankPlanWithRoll(actorNumber, attackCount, distance, roll)

Return the supertank plan with roll value.

ParameterTypeDefaultDescription
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
distancedynamic—distance value consumed by this operation.
rolldynamic—roll value consumed by this operation.

View source

supertankRocketPlan

function supertankRocketPlan()

Return the supertank rocket plan value.

View source

tankBlasterDistances

tankBlasterDistances

Stores module-wide tank blaster distances state for the miniquake2 game ai attack sequences module.

View source

tankBlasterPlan

function tankBlasterPlan(className, actorNumber, attackCount, skill)

Return the tank blaster plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
skilldynamic—skill value consumed by this operation.

View source

tankBlasterPlanCycles

function tankBlasterPlanCycles(className, cycles, allowRefire)

Return the tank blaster plan cycles value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
cyclesdynamic—cycles value consumed by this operation.
allowRefiredynamic—allowRefire value consumed by this operation.

View source

tankBlasterPostDistances

tankBlasterPostDistances

Stores module-wide tank blaster post distances state for the miniquake2 game ai attack sequences module.

View source

tankMachinegunPlan

function tankMachinegunPlan(className)

Return the tank machinegun plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.

View source

tankPlan

function tankPlan(className, actorNumber, attackCount, distance, skill)

Return the tank plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
distancedynamic—distance value consumed by this operation.
skilldynamic—skill value consumed by this operation.

View source

tankPlanWithRoll

function tankPlanWithRoll(className, actorNumber, attackCount, distance, skill, roll)

Return the tank plan with roll value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
distancedynamic—distance value consumed by this operation.
skilldynamic—skill value consumed by this operation.
rolldynamic—roll value consumed by this operation.

View source

tankRocketCycleDistances

tankRocketCycleDistances

Stores module-wide tank rocket cycle distances state for the miniquake2 game ai attack sequences module.

View source

tankRocketPlan

function tankRocketPlan(className, actorNumber, attackCount, skill)

Return the tank rocket plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.
attackCountdynamic—Number of attack to process.
skilldynamic—skill value consumed by this operation.

View source

tankRocketPlanCycles

function tankRocketPlanCycles(className, cycles, allowRefire)

Return the tank rocket plan cycles value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
cyclesdynamic—cycles value consumed by this operation.
allowRefiredynamic—allowRefire value consumed by this operation.

View source

tankRocketPostDistances

tankRocketPostDistances

Stores module-wide tank rocket post distances state for the miniquake2 game ai attack sequences module.

View source

tankRocketPreDistances

tankRocketPreDistances

Stores module-wide tank rocket pre distances state for the miniquake2 game ai attack sequences module.

View source

validatePlan

function validatePlan(plan)

Validates plan for the miniquake2 game ai attack sequences workflow.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.

View source