# activeIntegrationRuntime
activeIntegrationRuntimeStores module-wide active integration runtime state for the miniquake2 game integration baseq2 module.
src/miniquake2/game/integration/baseq2.mlProvides miniquake2 game integration baseq2 facilities for this project.
miniquake2/game/ai/archetypes.ml as ibarchetypes → src/miniquake2/game/ai/archetypes.mlminiquake2/game/ai/attack_sequences.ml as ibattackseq → src/miniquake2/game/ai/attack_sequences.mlminiquake2/game/ai/combat_profiles.ml as ibaicombat → src/miniquake2/game/ai/combat_profiles.mlminiquake2/game/ai/constants.ml as ibaiconstants → src/miniquake2/game/ai/constants.mlminiquake2/game/ai/core.ml as ibgaicore → src/miniquake2/game/ai/core.mlminiquake2/game/ai/death_effects.ml as ibdeatheffects → src/miniquake2/game/ai/death_effects.mlminiquake2/game/ai/monster.ml as ibmonster → src/miniquake2/game/ai/monster.mlminiquake2/game/ai/move.ml as ibaimove → src/miniquake2/game/ai/move.mlminiquake2/game/ai/props.ml as ibaiprops → src/miniquake2/game/ai/props.mlminiquake2/game/ai/reaction_sequences.ml as ibreactionseq → src/miniquake2/game/ai/reaction_sequences.mlminiquake2/game/ai/sounds.ml as ibaisounds → src/miniquake2/game/ai/sounds.mlminiquake2/game/ai/trail.ml as ibaitrail → src/miniquake2/game/ai/trail.mlminiquake2/game/ai/types.ml as ibaitypes → src/miniquake2/game/ai/types.mlminiquake2/game/constants.ml as ibgconstants → src/miniquake2/game/constants.mlminiquake2/game/gameplay/combat.ml as ibgpcombat → src/miniquake2/game/gameplay/combat.mlminiquake2/game/gameplay/constants.ml as ibgpconstants → src/miniquake2/game/gameplay/constants.mlminiquake2/game/gameplay/item_rules.ml as ibitemrules → src/miniquake2/game/gameplay/item_rules.mlminiquake2/game/gameplay/powerups.ml as ibpowerups → src/miniquake2/game/gameplay/powerups.mlminiquake2/game/gameplay/precache.ml as ibprecache → src/miniquake2/game/gameplay/precache.mlminiquake2/game/gameplay/registry.ml as ibitems → src/miniquake2/game/gameplay/registry.mlminiquake2/game/gameplay/types.ml as ibgtypes → src/miniquake2/game/gameplay/types.mlminiquake2/game/gameplay/weapons.ml as ibgpweapons → src/miniquake2/game/gameplay/weapons.mlminiquake2/game/integration/pusher.ml as ibpusher → src/miniquake2/game/integration/pusher.mlminiquake2/game/player/commands.ml as ibplayercommands → src/miniquake2/game/player/commands.mlminiquake2/game/player/constants.ml as ibplayerconstants → src/miniquake2/game/player/constants.mlminiquake2/game/player/rules.ml as ibplayerrules → src/miniquake2/game/player/rules.mlminiquake2/game/player/view.ml as ibplayerview → src/miniquake2/game/player/view.mlminiquake2/game/random.ml as ibrandom → src/miniquake2/game/random.mlminiquake2/game/types.ml as ibgametypes → src/miniquake2/game/types.mlminiquake2/game/weapons/constants.ml as ibwpconstants → src/miniquake2/game/weapons/constants.mlminiquake2/game/weapons/core.ml as ibwpcore → src/miniquake2/game/weapons/core.mlminiquake2/game/weapons/hand_grenade.ml as ibwphandgrenade → src/miniquake2/game/weapons/hand_grenade.mlminiquake2/game/weapons/hitscan.ml as ibwphitscan → src/miniquake2/game/weapons/hitscan.mlminiquake2/game/weapons/projectiles.ml as ibwpprojectiles → src/miniquake2/game/weapons/projectiles.mlminiquake2/game/weapons/types.ml as ibwptypes → src/miniquake2/game/weapons/types.mlminiquake2/game/weapons/vector.ml as ibwpvector → src/miniquake2/game/weapons/vector.mlminiquake2/game/world/constants.ml as ibworldconstants → src/miniquake2/game/world/constants.mlminiquake2/game/world/core.ml as ibworld → src/miniquake2/game/world/core.mlminiquake2/game/world/misc.ml as ibmisc → src/miniquake2/game/world/misc.mlminiquake2/game/world/movers.ml as ibmovers → src/miniquake2/game/world/movers.mlminiquake2/game/world/targets.ml as ibtargets → src/miniquake2/game/world/targets.mlminiquake2/game/world/triggers.ml as ibtriggers → src/miniquake2/game/world/triggers.mlminiquake2/game/world/turret.ml as ibturret → src/miniquake2/game/world/turret.mlminiquake2/game/world/turret_types.ml as ibturrettypes → src/miniquake2/game/world/turret_types.mlminiquake2/game/world/types.ml as ibwtypes → src/miniquake2/game/world/types.mlminiquake2/qcommon/constants.ml as ibqconstants → src/miniquake2/qcommon/constants.mlminiquake2/qcommon/monster_flash_offsets.ml as ibflashoffsets → src/miniquake2/qcommon/monster_flash_offsets.mlminiquake2/qcommon/text.ml as ibqtext → src/miniquake2/qcommon/text.mlminiquake2/qcommon/types.ml as ibqtypes → src/miniquake2/qcommon/types.mlstd/math.ml as ibmath → ../MiniLangCompilerML/std/math.ml external dependencyactiveIntegrationRuntimeStores module-wide active integration runtime state for the miniquake2 game integration baseq2 module.
function activeMonsterAttackPlan(actor)Report whether active monster attack plan.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function advanceDroppedItems(runtime)Advance every dropped item (compatibility/test entry point).
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function advanceDroppedItemsAtNumber(runtime, requestedNumber)Advance dropped items.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
requestedNumber | dynamic | — | requestedNumber value consumed by this operation. |
function advanceMonsterAttack(runtime, actor, attackPlan)Advance exactly one 0.1-second attack-plan frame, including movement, frame callbacks and refire decisions. nextFrame is persisted so save/restore does not replay an already emitted projectile or sound.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
function advanceMutantJumpPhysics(runtime, actor)Advance mutant jump physics.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
function advanceWeaponProjectileAtNumber(runtime, requestedNumber)Advance weapon projectiles.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
requestedNumber | dynamic | — | requestedNumber value consumed by this operation. |
function advanceWeaponProjectiles(runtime)Advance weapon projectiles.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function advanceWorldTossEntities(runtime)Advance every managed world toss entity (compatibility/test entry point).
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function advanceWorldTossEntitiesAtNumber(runtime, requestedNumber)Advance world toss entities.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
requestedNumber | dynamic | — | requestedNumber value consumed by this operation. |
function aiAreasConnected(first, second)Report whether ai areas connected.
| Parameter | Type | Default | Description |
|---|---|---|---|
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
function aiClearShot(actor, other)Clear ai shot.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
function aiInPHS(first, second)Return the ai in phs value.
| Parameter | Type | Default | Description |
|---|---|---|---|
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
function aiPickTarget(targetName)Choose ai target.
| Parameter | Type | Default | Description |
|---|---|---|---|
targetName | dynamic | — | targetName value consumed by this operation. |
aiTraceEndScratchStores module-wide ai trace end scratch state for the miniquake2 game integration baseq2 module.
aiTraceStartScratchThe server game is single-threaded. Reuse the three immutable-by-callee
aiTraceZeroScratchStores module-wide ai trace zero scratch state for the miniquake2 game integration baseq2 module.
function aiTrailPickFirst(actor)Choose ai trail first.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function aiTrailPickNext(actor)Choose ai trail next.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
aiTriggerMaxsScratchStores module-wide ai trigger maxs scratch state for the miniquake2 game integration baseq2 module.
aiTriggerMinsScratchStores module-wide ai trigger mins scratch state for the miniquake2 game integration baseq2 module.
function aiUseTargets(actor, activator)Use ai targets.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
activator | dynamic | — | activator value consumed by this operation. |
function aiVisible(actor, other)Report whether ai visible.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
function applyMonsterAttackMovement(actor, attackPlan, timelineOffset, context)Apply monster attack movement.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
timelineOffset | dynamic | — | timelineOffset value consumed by this operation. |
context | dynamic | — | Context that carries state for the operation. |
function applyPlayerWeaponRecoil(runtime, player, item, direction)Apply player weapon recoil.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
direction | dynamic | — | direction value consumed by this operation. |
function beginMonsterAttack(runtime, actor, attackPlan)Begin monster attack.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
function beginPlayerAttackAnimation(player)Begin player attack animation.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
function bindEngineModels(runtime, exportTable, imports)Bind engine models.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
exportTable | dynamic | — | exportTable value consumed by this operation. |
imports | dynamic | — | imports value consumed by this operation. |
function bindEngineModelsWithMode(runtime, exportTable, imports, refreshGeometry)Bind managed world components to their engine edicts through setmodel so inline brush hull bounds/headnodes become authoritative for movement and traces. This must run after configureIntegratedRuntime installed linkEntity.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
exportTable | dynamic | — | exportTable value consumed by this operation. |
imports | dynamic | — | imports value consumed by this operation. |
refreshGeometry | dynamic | — | refreshGeometry value consumed by this operation. |
function bindRestoredEngineModels(runtime, exportTable, imports)Bind restored engine models.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
exportTable | dynamic | — | exportTable value consumed by this operation. |
imports | dynamic | — | imports value consumed by this operation. |
function bodyQueueDie(entity, inflictor, attacker, damage, point, world)Handle damage to a corpse copied into the fixed body queue.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
inflictor | dynamic | — | inflictor value consumed by this operation. |
attacker | dynamic | — | attacker value consumed by this operation. |
damage | dynamic | — | damage value consumed by this operation. |
point | dynamic | — | point value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function boundsOverlap(first, second)Return the bounds overlap value.
| Parameter | Type | Default | Description |
|---|---|---|---|
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
function clipWeaponAxis(interval, startValue, endValue, minimum, maximum, axis)Clip weapon axis.
| Parameter | Type | Default | Description |
|---|---|---|---|
interval | dynamic | — | interval value consumed by this operation. |
startValue | dynamic | — | startValue value consumed by this operation. |
endValue | dynamic | — | endValue value consumed by this operation. |
minimum | dynamic | — | minimum value consumed by this operation. |
maximum | dynamic | — | maximum value consumed by this operation. |
axis | dynamic | — | axis value consumed by this operation. |
function clipWorldLaserAxis(clip, startValue, endValue, minimum, maximum, axis)Clip world laser axis.
| Parameter | Type | Default | Description |
|---|---|---|---|
clip | dynamic | — | clip value consumed by this operation. |
startValue | dynamic | — | startValue value consumed by this operation. |
endValue | dynamic | — | endValue value consumed by this operation. |
minimum | dynamic | — | minimum value consumed by this operation. |
maximum | dynamic | — | maximum value consumed by this operation. |
axis | dynamic | — | axis value consumed by this operation. |
function clipWorldLaserBounds(start, finish, origin, mins, maxs)Clip world laser bounds.
| Parameter | Type | Default | Description |
|---|---|---|---|
start | dynamic | — | start value consumed by this operation. |
finish | dynamic | — | finish value consumed by this operation. |
origin | dynamic | — | origin value consumed by this operation. |
mins | dynamic | — | mins value consumed by this operation. |
maxs | dynamic | — | maxs value consumed by this operation. |
function clipWorldTossVelocity(entity, normal)Match g_phys.c ClipVelocity and the SV_Physics_Toss landing gate. Bounce entities retain enough reflected vertical speed to leave the ground again; ordinary toss entities settle on the first walkable floor impact.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
normal | dynamic | — | normal value consumed by this operation. |
function compactIntegratedValues(values, count)Return the compact integrated values value.
| Parameter | Type | Default | Description |
|---|---|---|---|
values | dynamic | — | values value consumed by this operation. |
count | dynamic | — | Number of items or units to process. |
function compactWeaponProjectiles(runtime)Remove projectile records released during the numeric edict pass.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function configureAI(context)Configure ai.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
function containsItemIndex(indexes, value)Report whether contains item index.
| Parameter | Type | Default | Description |
|---|---|---|---|
indexes | dynamic | — | indexes value consumed by this operation. |
value | dynamic | — | Value consumed or transformed by the operation. |
function copyPlayerBody(runtime, player)CopyToBodyQue: snapshot the dead player into the next fixed corpse slot.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
function copyVector(values)Copy vector data.
| Parameter | Type | Default | Description |
|---|---|---|---|
values | dynamic | — | values value consumed by this operation. |
function create(spawnResult)Construct every world, item and monster record before callbacks can observe the runtime. Parsed edict numbers remain authoritative across proxy tables.
| Parameter | Type | Default | Description |
|---|---|---|---|
spawnResult | dynamic | — | spawnResult value consumed by this operation. |
function damageMonster(runtime, monsterIndex, attacker, damage)Return the damage monster value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
monsterIndex | dynamic | — | Zero-based index of monster. |
attacker | dynamic | — | attacker value consumed by this operation. |
damage | dynamic | — | damage value consumed by this operation. |
function damageMutantJumpTarget(runtime, actor, target, velocity, impactPoint)Return the damage mutant jump target value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
target | dynamic | — | target value consumed by this operation. |
velocity | dynamic | — | velocity value consumed by this operation. |
impactPoint | dynamic | — | impactPoint value consumed by this operation. |
function damageWorldEntity(runtime, entityNumber, attacker, damage)Return the damage world entity value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
entityNumber | dynamic | — | entityNumber value consumed by this operation. |
attacker | dynamic | — | attacker value consumed by this operation. |
damage | dynamic | — | damage value consumed by this operation. |
function deathmatchInhibitsItem(itemEntity, playerContext)Return the deathmatch inhibits item value.
| Parameter | Type | Default | Description |
|---|---|---|---|
itemEntity | dynamic | — | itemEntity value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function dropPlayerItem(runtime, player, playerContext, item)Drop player item.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
function emitMonsterAttackEventSound(actor, attackPlan, eventIndex, eventFired)Emit monster attack event sound.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
eventFired | dynamic | — | eventFired value consumed by this operation. |
function emitMonsterAttackFrameSound(actor, attackPlan, timelineOffset)Emit monster attack frame sound.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
timelineOffset | dynamic | — | timelineOffset value consumed by this operation. |
function emitPlayerWeaponSound(runtime, player, channel, name, attenuation)Emit player weapon sound.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
channel | dynamic | — | channel value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
attenuation | dynamic | — | attenuation value consumed by this operation. |
function findAIPlayer(runtime, number)Find ai player.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function findItemByClass(runtime, className)Find item by class.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
className | dynamic | — | className value consumed by this operation. |
function findItemByNumber(runtime, number)Find item by number.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function findWorldByClass(runtime, className)Find world by class.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
className | dynamic | — | className value consumed by this operation. |
function findWorldByNumber(runtime, number)Find world by number.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function finishMonsterAttack(runtime, actor, attackPlan, lastFrameOffset)Finish monster attack.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
lastFrameOffset | dynamic | — | lastFrameOffset value consumed by this operation. |
function fireMonsterAttack(runtime, actor, attackPlan, eventIndex, muzzleFlash)Fire monster attack.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
muzzleFlash | dynamic | — | muzzleFlash value consumed by this operation. |
infantryDeathAimPitchm_infantry.c's fixed death211..death222 spray. Scalar package tables avoid
infantryDeathAimYawStores module-wide infantry death aim yaw state for the miniquake2 game integration baseq2 module.
function initializeBodyQueue(runtime)Reserve the eight body edicts immediately after the client range.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function initializeEdictAllocator(runtime, exportTable, maxClients)Initialize the level-owned allocator state used by every dynamic entity.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
exportTable | dynamic | — | exportTable value consumed by this operation. |
maxClients | dynamic | — | maxClients value consumed by this operation. |
function initializeMonsterMovement(runtime, restoring)m_move/g_monster startup is delayed until the GameImport collision bridge has the retail BSP and inline models linked. Restores re-establish transient ground/water references without altering the persisted transform.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
restoring | dynamic | — | restoring value consumed by this operation. |
function installDroppedItem(runtime, player, playerContext, itemEntity)Complete Drop_Item's engine-facing half after the item-specific callback has changed inventory. The managed item record retains toss velocity and the two stock deadlines: owner immunity for one second and DM expiry at 30.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
itemEntity | dynamic | — | itemEntity value consumed by this operation. |
function installMonsterTargetProxies(runtime)Install monster target proxies.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function installPropTargetProxies(runtime)Install prop target proxies.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function installTurretRigs(runtime)Install turret rigs.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function installWorldSpawn(entity, world)Install world spawn.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedActorBroadcast(actorNumber, message, exclamation)Return the integrated actor broadcast value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actorNumber | dynamic | — | actorNumber value consumed by this operation. |
message | dynamic | — | Human-readable message associated with the operation. |
exclamation | dynamic | — | exclamation value consumed by this operation. |
function integratedActorChat(actor, message)Return the integrated actor chat value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
message | dynamic | — | Human-readable message associated with the operation. |
function integratedActorMessage(actorEntity, message)Return the integrated actor message value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actorEntity | dynamic | — | actorEntity value consumed by this operation. |
message | dynamic | — | Human-readable message associated with the operation. |
function integratedActorName(number)Return the integrated actor name.
| Parameter | Type | Default | Description |
|---|---|---|---|
number | dynamic | — | number value consumed by this operation. |
function integratedActorTransition(actorEntity, waypoint, action, actionTarget, nextTarget, wait, flags)Return the integrated actor transition value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actorEntity | dynamic | — | actorEntity value consumed by this operation. |
waypoint | dynamic | — | waypoint value consumed by this operation. |
action | dynamic | — | action value consumed by this operation. |
actionTarget | dynamic | — | actionTarget value consumed by this operation. |
nextTarget | dynamic | — | nextTarget value consumed by this operation. |
wait | dynamic | — | wait value consumed by this operation. |
flags | dynamic | — | Bit flags controlling the operation. |
function integratedAIDamage(actor, amount, damageFlags, meansOfDeath)Return the integrated ai damage value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
amount | dynamic | — | amount value consumed by this operation. |
damageFlags | dynamic | — | damageFlags value consumed by this operation. |
meansOfDeath | dynamic | — | meansOfDeath value consumed by this operation. |
function integratedAIDeathEffect(actor, effect)Return the integrated ai death effect value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
effect | dynamic | — | effect value consumed by this operation. |
function integratedAIFindTargets(targetName)Find integrated ai targets.
| Parameter | Type | Default | Description |
|---|---|---|---|
targetName | dynamic | — | targetName value consumed by this operation. |
function integratedAIKillBox(actor)Kill integrated ai box.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function integratedAILinkActor(actor)Link integrated ai actor.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function integratedAILog(message)Return the integrated ai log value.
| Parameter | Type | Default | Description |
|---|---|---|---|
message | dynamic | — | Human-readable message associated with the operation. |
function integratedAIMoveToGoal(actor, distance)Move integrated ai to goal.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
distance | dynamic | — | distance value consumed by this operation. |
function integratedAIPointContents(point)Return the integrated ai point contents value.
| Parameter | Type | Default | Description |
|---|---|---|---|
point | dynamic | — | point value consumed by this operation. |
function integratedAISound(actor, soundName, channel, attenuation)Return the integrated ai sound value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
soundName | dynamic | — | soundName value consumed by this operation. |
channel | dynamic | — | channel value consumed by this operation. |
attenuation | dynamic | — | attenuation value consumed by this operation. |
function integratedAISoundIndex(soundName)Return the integrated ai sound index.
| Parameter | Type | Default | Description |
|---|---|---|---|
soundName | dynamic | — | soundName value consumed by this operation. |
function integratedAITempEntity(actor, effectType)Return the integrated ai temp entity value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
effectType | dynamic | — | effectType value consumed by this operation. |
function integratedAITouchTriggers(actor)Handle integrated ai triggers.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function integratedAITrace(start, mins, maxs, finish, ignore, mask)Trace integrated ai.
| Parameter | Type | Default | Description |
|---|---|---|---|
start | dynamic | — | start value consumed by this operation. |
mins | dynamic | — | mins value consumed by this operation. |
maxs | dynamic | — | maxs value consumed by this operation. |
finish | dynamic | — | finish value consumed by this operation. |
ignore | dynamic | — | ignore value consumed by this operation. |
mask | dynamic | — | mask value consumed by this operation. |
function integratedAIWalkMove(actor, yaw, distance)Move integrated ai walk.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
yaw | dynamic | — | yaw value consumed by this operation. |
distance | dynamic | — | distance value consumed by this operation. |
miniquake2.game.integration.baseq2.IntegratedBaseQ2 struct
function integratedBodyGibs(origin, damage, count)Spawn the four organic chunks emitted by p_client.c::body_die.
| Parameter | Type | Default | Description |
|---|---|---|---|
origin | dynamic | — | origin value consumed by this operation. |
damage | dynamic | — | damage value consumed by this operation. |
count | dynamic | — | Number of items or units to process. |
function integratedCanDamage(target, origin)Report whether integrated can damage.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | dynamic | — | target value consumed by this operation. |
origin | dynamic | — | origin value consumed by this operation. |
function integratedClockSeconds()Return the integrated clock seconds value.
function integratedCombatPointTransition(actorEntity, point, nextTarget, hold, clearCombatPoint)Return the integrated combat point transition value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actorEntity | dynamic | — | actorEntity value consumed by this operation. |
point | dynamic | — | point value consumed by this operation. |
nextTarget | dynamic | — | nextTarget value consumed by this operation. |
hold | dynamic | — | hold value consumed by this operation. |
clearCombatPoint | dynamic | — | clearCombatPoint value consumed by this operation. |
function integratedConsumeKeyItem(activator, itemClassName)Consume integrated key item.
| Parameter | Type | Default | Description |
|---|---|---|---|
activator | dynamic | — | activator value consumed by this operation. |
itemClassName | dynamic | — | itemClassName value consumed by this operation. |
function integratedDamageEffect(point, direction, blood, bullet)Return the integrated damage effect value.
| Parameter | Type | Default | Description |
|---|---|---|---|
point | dynamic | — | point value consumed by this operation. |
direction | dynamic | — | direction value consumed by this operation. |
blood | dynamic | — | blood value consumed by this operation. |
bullet | dynamic | — | bullet value consumed by this operation. |
function integratedDodge(owner, start, direction, speed)Return the integrated dodge value.
| Parameter | Type | Default | Description |
|---|---|---|---|
owner | dynamic | — | owner value consumed by this operation. |
start | dynamic | — | start value consumed by this operation. |
direction | dynamic | — | direction value consumed by this operation. |
speed | dynamic | — | speed value consumed by this operation. |
miniquake2.game.integration.baseq2.IntegratedDynamicClip struct
function integratedExitDamage(targetEntity, amount)use_target_changelevel's no-exit punishment is ordinary T_Damage with a large knockback and MOD_EXIT. Route it through the same live target adapter as weapon and projectile damage so players, monsters and brush entities all receive their normal pain/death synchronization.
| Parameter | Type | Default | Description |
|---|---|---|---|
targetEntity | dynamic | — | targetEntity value consumed by this operation. |
amount | dynamic | — | amount value consumed by this operation. |
function integratedFindDeadMonster(medic)Find integrated dead monster.
| Parameter | Type | Default | Description |
|---|---|---|---|
medic | dynamic | — | medic value consumed by this operation. |
function integratedHasKeyItem(activator, itemClassName)Report whether integrated has key item.
| Parameter | Type | Default | Description |
|---|---|---|---|
activator | dynamic | — | activator value consumed by this operation. |
itemClassName | dynamic | — | itemClassName value consumed by this operation. |
function integratedInfantryDeathFire(runtime, actor, timelineOffset)Fire integrated infantry death.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
timelineOffset | dynamic | — | timelineOffset value consumed by this operation. |
function integratedLightStyle(style, pattern)Return the integrated light style value.
| Parameter | Type | Default | Description |
|---|---|---|---|
style | dynamic | — | style value consumed by this operation. |
pattern | dynamic | — | pattern value consumed by this operation. |
function integratedMedicCableEvent(runtime, medic, eventIndex)Return the integrated medic cable event value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
medic | dynamic | — | medic value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
function integratedMedicCorpseVisible(runtime, medic, patient)Report whether integrated medic corpse visible.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
medic | dynamic | — | medic value consumed by this operation. |
patient | dynamic | — | patient value consumed by this operation. |
function integratedMonsterByNumber(runtime, number)Return the integrated monster by number.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function integratedMonsterDrainBeam(runtime, actor, start, endPosition)Drain integrated monster beam.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
start | dynamic | — | start value consumed by this operation. |
endPosition | dynamic | — | endPosition value consumed by this operation. |
function integratedMonsterMedicCable(runtime, medic, cableOffsetIndex)Return the integrated monster medic cable value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
medic | dynamic | — | medic value consumed by this operation. |
cableOffsetIndex | dynamic | — | Zero-based index of cable offset. |
function integratedMonsterMuzzleFlash(runtime, actor, muzzleFlash, origin)Return the integrated monster muzzle flash value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
muzzleFlash | dynamic | — | muzzleFlash value consumed by this operation. |
origin | dynamic | — | origin value consumed by this operation. |
function integratedMonsterProxyUse(entity, other, activator, world)Use integrated monster proxy.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
activator | dynamic | — | activator value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedPlayerByNumber(runtime, number)Return the integrated player by number.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function integratedPlayerFire(gameplayPlayer, registry)Bridge the stock p_weapon state machine to authoritative edicts, protocol effects and damage while preserving the component-only fallback used by isolated gameplay tests.
| Parameter | Type | Default | Description |
|---|---|---|---|
gameplayPlayer | dynamic | — | gameplayPlayer value consumed by this operation. |
registry | dynamic | — | registry value consumed by this operation. |
function integratedPlayerMuzzleFlash(runtime, shooter, item, shots, silenced)Return the integrated player muzzle flash value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
shooter | dynamic | — | shooter value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
shots | dynamic | — | shots value consumed by this operation. |
silenced | dynamic | — | silenced value consumed by this operation. |
function integratedPlayerNoise(owner, position, noiseType)Return the integrated player noise value.
| Parameter | Type | Default | Description |
|---|---|---|---|
owner | dynamic | — | owner value consumed by this operation. |
position | dynamic | — | position value consumed by this operation. |
noiseType | dynamic | — | noiseType value consumed by this operation. |
function integratedPlayerNoiseOwnerNumber(owner)Resolve either a WeaponTarget or GameplayPlayer to its engine edict number.
| Parameter | Type | Default | Description |
|---|---|---|---|
owner | dynamic | — | owner value consumed by this operation. |
function integratedPowerArmorEffect(point, direction, armorType)Emit the stock power-screen or power-shield impact feedback.
| Parameter | Type | Default | Description |
|---|---|---|---|
point | dynamic | — | point value consumed by this operation. |
direction | dynamic | — | direction value consumed by this operation. |
armorType | dynamic | — | armorType value consumed by this operation. |
integratedProjectileFreeTotalStores module-wide integrated projectile free total state for the miniquake2 game integration baseq2 module.
integratedProjectileLinkTotalStores module-wide integrated projectile link total state for the miniquake2 game integration baseq2 module.
function integratedPropProxyUse(entity, other, activator, world)Use integrated prop proxy.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
activator | dynamic | — | activator value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedRadiusTargets(origin, radius)Return the integrated radius targets value.
| Parameter | Type | Default | Description |
|---|---|---|---|
origin | dynamic | — | origin value consumed by this operation. |
radius | dynamic | — | radius value consumed by this operation. |
function integratedRandomIndex(count)Return the integrated random index.
| Parameter | Type | Default | Description |
|---|---|---|---|
count | dynamic | — | Number of items or units to process. |
function integratedRandomInteger()Return the integrated random integer value.
function integratedRandomSigned()Return the integrated random signed value.
function integratedRandomUnit()Return the integrated random unit value.
function integratedReactionFrameEvent(actor, plan, timelineOffset, eventKind)Return the integrated reaction frame event value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
plan | dynamic | — | plan value consumed by this operation. |
timelineOffset | dynamic | — | timelineOffset value consumed by this operation. |
eventKind | dynamic | — | eventKind value consumed by this operation. |
function integratedResolveKeyItem(itemClassName)Resolve integrated key item.
| Parameter | Type | Default | Description |
|---|---|---|---|
itemClassName | dynamic | — | itemClassName value consumed by this operation. |
function integratedResurrectMonster(runtime, medic, patient)Return the integrated resurrect monster value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
medic | dynamic | — | medic value consumed by this operation. |
patient | dynamic | — | patient value consumed by this operation. |
function integratedSoldierDeathFire(runtime, actor, timelineOffset)Fire integrated soldier death.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
timelineOffset | dynamic | — | timelineOffset value consumed by this operation. |
function integratedSourceNumber(source)Return the integrated source number.
| Parameter | Type | Default | Description |
|---|---|---|---|
source | dynamic | — | source value consumed by this operation. |
function integratedSpawnMonster(className, parent)Spawn integrated monster.
| Parameter | Type | Default | Description |
|---|---|---|---|
className | dynamic | — | className value consumed by this operation. |
parent | dynamic | — | parent value consumed by this operation. |
function integratedTurretAcquire(driver, world)Return the integrated turret acquire value.
| Parameter | Type | Default | Description |
|---|---|---|---|
driver | dynamic | — | driver value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedTurretControl()Return the integrated turret control value.
function integratedTurretCrushDamage(targetEntity, inflictor, attacker, amount, knockback, means, world)Return the integrated turret crush damage value.
| Parameter | Type | Default | Description |
|---|---|---|---|
targetEntity | dynamic | — | targetEntity value consumed by this operation. |
inflictor | dynamic | — | inflictor value consumed by this operation. |
attacker | dynamic | — | attacker value consumed by this operation. |
amount | dynamic | — | amount value consumed by this operation. |
knockback | dynamic | — | knockback value consumed by this operation. |
means | dynamic | — | means value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedTurretDriverDie(driver, inflictor, attacker, damage, point, world)Handle integrated turret driver.
| Parameter | Type | Default | Description |
|---|---|---|---|
driver | dynamic | — | driver value consumed by this operation. |
inflictor | dynamic | — | inflictor value consumed by this operation. |
attacker | dynamic | — | attacker value consumed by this operation. |
damage | dynamic | — | damage value consumed by this operation. |
point | dynamic | — | point value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedTurretDriverSpawn(driver, world)Spawn integrated turret driver.
| Parameter | Type | Default | Description |
|---|---|---|---|
driver | dynamic | — | driver value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedTurretDriverUse(driver, other, activator, world)Use integrated turret driver.
| Parameter | Type | Default | Description |
|---|---|---|---|
driver | dynamic | — | driver value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
activator | dynamic | — | activator value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedTurretFire(attacker, start, direction, damage, speed, splashRadius, world)Fire integrated turret.
| Parameter | Type | Default | Description |
|---|---|---|---|
attacker | dynamic | — | attacker value consumed by this operation. |
start | dynamic | — | start value consumed by this operation. |
direction | dynamic | — | direction value consumed by this operation. |
damage | dynamic | — | damage value consumed by this operation. |
speed | dynamic | — | speed value consumed by this operation. |
splashRadius | dynamic | — | splashRadius value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedTurretPositionedSound(origin, entity, soundName, world)Return the integrated turret positioned sound value.
| Parameter | Type | Default | Description |
|---|---|---|---|
origin | dynamic | — | origin value consumed by this operation. |
entity | dynamic | — | entity value consumed by this operation. |
soundName | dynamic | — | soundName value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedTurretRandomUnit()Return the integrated turret random unit value.
function integratedTurretSkillValue()Return the integrated turret skill value.
function integratedTurretVisible(driver, enemy, world)Report whether integrated turret visible.
| Parameter | Type | Default | Description |
|---|---|---|---|
driver | dynamic | — | driver value consumed by this operation. |
enemy | dynamic | — | enemy value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function integratedWeaponCallbacks()Return the integrated weapon callbacks value.
function integratedWeaponContents(point)Return the integrated weapon contents value.
| Parameter | Type | Default | Description |
|---|---|---|---|
point | dynamic | — | point value consumed by this operation. |
function integratedWeaponDamage(combatant, request)Return the integrated weapon damage value.
| Parameter | Type | Default | Description |
|---|---|---|---|
combatant | dynamic | — | combatant value consumed by this operation. |
request | dynamic | — | request value consumed by this operation. |
function integratedWeaponEffect(effect)Return the integrated weapon effect value.
| Parameter | Type | Default | Description |
|---|---|---|---|
effect | dynamic | — | effect value consumed by this operation. |
function integratedWeaponFree(entity)Release integrated weapon.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
function integratedWeaponLink(entity)Link integrated weapon.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
function integratedWeaponSound(entity, soundName)Return the integrated weapon sound value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
soundName | dynamic | — | soundName value consumed by this operation. |
function integratedWeaponTargets(runtime)Return the integrated weapon targets value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function integratedWeaponTrace(start, mins, maxs, finish, ignore, mask)Trace integrated weapon.
| Parameter | Type | Default | Description |
|---|---|---|---|
start | dynamic | — | start value consumed by this operation. |
mins | dynamic | — | mins value consumed by this operation. |
maxs | dynamic | — | maxs value consumed by this operation. |
finish | dynamic | — | finish value consumed by this operation. |
ignore | dynamic | — | ignore value consumed by this operation. |
mask | dynamic | — | mask value consumed by this operation. |
function integratedWorldActor(number)Return the integrated world actor value.
| Parameter | Type | Default | Description |
|---|---|---|---|
number | dynamic | — | number value consumed by this operation. |
function integratedWorldAIActivator(source)Return the integrated world ai activator value.
| Parameter | Type | Default | Description |
|---|---|---|---|
source | dynamic | — | source value consumed by this operation. |
function integratedWorldAITarget(entity)Return the integrated world ai target value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
function integratedWorldCollisionProxy(runtime, number)Return the integrated world collision proxy value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function integratedWorldDamage(targetEntity, inflictor, attacker, amount, means)Return the integrated world damage value.
| Parameter | Type | Default | Description |
|---|---|---|---|
targetEntity | dynamic | — | targetEntity value consumed by this operation. |
inflictor | dynamic | — | inflictor value consumed by this operation. |
attacker | dynamic | — | attacker value consumed by this operation. |
amount | dynamic | — | amount value consumed by this operation. |
means | dynamic | — | means value consumed by this operation. |
function integratedWorldDebris(kind, origin, speed, count)Match g_misc.c ThrowDebris: model-backed, non-solid bounce entities with a five-to-ten-second lifetime. Unlike monster gibs they carry no EF_GIB trail.
| Parameter | Type | Default | Description |
|---|---|---|---|
kind | dynamic | — | kind value consumed by this operation. |
origin | dynamic | — | origin value consumed by this operation. |
speed | dynamic | — | speed value consumed by this operation. |
count | dynamic | — | Number of items or units to process. |
function integratedWorldEarthquake(entity, speed, playSound)Return the integrated world earthquake value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
speed | dynamic | — | speed value consumed by this operation. |
playSound | dynamic | — | playSound value consumed by this operation. |
function integratedWorldEffect(kind, origin, style, count)World state machines use this callback for stock temp entities and visible barrel debris. Permanent protocol edicts are allocated only for the chunks.
| Parameter | Type | Default | Description |
|---|---|---|---|
kind | dynamic | — | kind value consumed by this operation. |
origin | dynamic | — | origin value consumed by this operation. |
style | dynamic | — | style value consumed by this operation. |
count | dynamic | — | Number of items or units to process. |
function integratedWorldFireBlaster(entity, direction, damage, speed)Fire integrated world blaster.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
direction | dynamic | — | direction value consumed by this operation. |
damage | dynamic | — | damage value consumed by this operation. |
speed | dynamic | — | speed value consumed by this operation. |
function integratedWorldKillBox(entity)Kill integrated world box.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
function integratedWorldLaserSparks(origin, normal, count, color)Return the integrated world laser sparks value.
| Parameter | Type | Default | Description |
|---|---|---|---|
origin | dynamic | — | origin value consumed by this operation. |
normal | dynamic | — | normal value consumed by this operation. |
count | dynamic | — | Number of items or units to process. |
color | dynamic | — | color value consumed by this operation. |
function integratedWorldLaserTrace(start, finish, ignore)Merge the engine world trace with managed player, monster and world bounds. The nearest eligible hit wins; scratch records are reused on the server thread.
| Parameter | Type | Default | Description |
|---|---|---|---|
start | dynamic | — | start value consumed by this operation. |
finish | dynamic | — | finish value consumed by this operation. |
ignore | dynamic | — | ignore value consumed by this operation. |
function integratedWorldMeans(means)Return the integrated world means value.
| Parameter | Type | Default | Description |
|---|---|---|---|
means | dynamic | — | means value consumed by this operation. |
function integratedWorldPlayer(activator)Return the integrated world player value.
| Parameter | Type | Default | Description |
|---|---|---|---|
activator | dynamic | — | activator value consumed by this operation. |
function integratedWorldPointContents(runtime, point)Return the integrated world point contents value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
point | dynamic | — | point value consumed by this operation. |
function integratedWorldRadiusDamage(inflictor, attacker, amount, radius, means)Return the integrated world radius damage value.
| Parameter | Type | Default | Description |
|---|---|---|---|
inflictor | dynamic | — | inflictor value consumed by this operation. |
attacker | dynamic | — | attacker value consumed by this operation. |
amount | dynamic | — | amount value consumed by this operation. |
radius | dynamic | — | radius value consumed by this operation. |
means | dynamic | — | means value consumed by this operation. |
function integratedWorldSetModel(entity, modelName)Set integrated world model.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
modelName | dynamic | — | modelName value consumed by this operation. |
function integratedWorldSpawnExternal(className, origin, angles, velocity)Spawn integrated world external.
| Parameter | Type | Default | Description |
|---|---|---|---|
className | dynamic | — | className value consumed by this operation. |
origin | dynamic | — | origin value consumed by this operation. |
angles | dynamic | — | angles value consumed by this operation. |
velocity | dynamic | — | velocity value consumed by this operation. |
function itemTeamMaster(itemEntity)Return the item team master value.
| Parameter | Type | Default | Description |
|---|---|---|---|
itemEntity | dynamic | — | itemEntity value consumed by this operation. |
function itemWorldEffects(item)Return the item world effects value.
| Parameter | Type | Default | Description |
|---|---|---|---|
item | dynamic | — | item value consumed by this operation. |
function managedEdictSlotActive(runtime, number)Report whether a protocol slot still belongs to a live managed record.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
medicCableOffsetXExact m_medic.c attack42-relative cable offsets. Package-rooted scalar
medicCableOffsetYStores module-wide medic cable offset y state for the miniquake2 game integration baseq2 module.
medicCableOffsetZStores module-wide medic cable offset z state for the miniquake2 game integration baseq2 module.
function monsterAttackDamage(runtime, attackPlan, eventIndex)Run monster damage.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
function monsterAttackDamageFromState(randomState, attackPlan, eventIndex)Run monster damage from state.
| Parameter | Type | Default | Description |
|---|---|---|---|
randomState | dynamic | — | randomState value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
function monsterAttackDirection(actor, attackPlan, eventIndex, start, destination, velocity)Run monster direction.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
start | dynamic | — | start value consumed by this operation. |
destination | dynamic | — | destination value consumed by this operation. |
velocity | dynamic | — | velocity value consumed by this operation. |
function monsterAttackSupported(actor)Report whether monster attack supported.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function monsterAttackTimelineOffset(actor, attackPlan, now)Run monster timeline offset.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
now | dynamic | — | now value consumed by this operation. |
function monsterEnemyAimPoint(actor, enemy)Return the monster enemy aim point value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
enemy | dynamic | — | enemy value consumed by this operation. |
function monsterFireHit(runtime, actor, enemyTarget, shooter, attackPlan, eventIndex, damage, kick)Fire monster hit.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
enemyTarget | dynamic | — | enemyTarget value consumed by this operation. |
shooter | dynamic | — | shooter value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
damage | dynamic | — | damage value consumed by this operation. |
kick | dynamic | — | kick value consumed by this operation. |
function monsterMeleeAim(actor, attackPlan, eventIndex)Return the monster melee aim value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
function monsterMuzzleAndDirection(runtime, actor, attackPlan, eventIndex, muzzleFlash)Return the monster muzzle and direction value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
eventIndex | dynamic | — | Zero-based index of event. |
muzzleFlash | dynamic | — | muzzleFlash value consumed by this operation. |
function monsterMuzzleStart(actor, muzzleFlash)Start monster muzzle.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
muzzleFlash | dynamic | — | muzzleFlash value consumed by this operation. |
function monsterProjectedStart(actor, offset)Start monster projected.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
offset | dynamic | — | Zero-based offset at which processing starts. |
function monsterRefireDecisionOffset(attackPlan)Return the monster refire decision offset.
| Parameter | Type | Default | Description |
|---|---|---|---|
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
function monsterSecondaryModelName(actor)Return the monster secondary model name.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function monsterShouldRefire(runtime, actor, attackPlan)Report whether monster should refire.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
function monsterSoldierAttackDirection(randomState, start, destination)Run monster soldier direction.
| Parameter | Type | Default | Description |
|---|---|---|---|
randomState | dynamic | — | randomState value consumed by this operation. |
start | dynamic | — | start value consumed by this operation. |
destination | dynamic | — | destination value consumed by this operation. |
function monsterWeaponTarget(actor)Return the monster weapon target value.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function parasiteDrainCanDamage(runtime, shooter, enemyTarget, start)Report whether parasite drain can damage.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
shooter | dynamic | — | shooter value consumed by this operation. |
enemyTarget | dynamic | — | enemyTarget value consumed by this operation. |
start | dynamic | — | start value consumed by this operation. |
function parasiteDrainPointOk(start, endPosition)Drain parasite point ok.
| Parameter | Type | Default | Description |
|---|---|---|---|
start | dynamic | — | start value consumed by this operation. |
endPosition | dynamic | — | endPosition value consumed by this operation. |
function playerChaingunMuzzle(player)Return the player chaingun muzzle value.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
function playerForGameplay(runtime, gameplayPlayer)Return the player for gameplay value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
gameplayPlayer | dynamic | — | gameplayPlayer value consumed by this operation. |
function playerMuzzle(player, item, gunFrame, shotIndex)Return the player muzzle value.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
gunFrame | dynamic | — | gunFrame value consumed by this operation. |
shotIndex | dynamic | — | Zero-based index of shot. |
function playerMuzzleFlashForItem(item, shots)Return the player muzzle flash for item value.
| Parameter | Type | Default | Description |
|---|---|---|---|
item | dynamic | — | item value consumed by this operation. |
shots | dynamic | — | shots value consumed by this operation. |
function playerMuzzleForAngles(player, item, gunFrame, shotIndex, angles)Return the player muzzle for angles.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
gunFrame | dynamic | — | gunFrame value consumed by this operation. |
shotIndex | dynamic | — | Zero-based index of shot. |
angles | dynamic | — | angles value consumed by this operation. |
function playerWeaponShotCount(gameplayPlayer, item, effectiveFrame)Return the player weapon shot count.
| Parameter | Type | Default | Description |
|---|---|---|---|
gameplayPlayer | dynamic | — | gameplayPlayer value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
effectiveFrame | dynamic | — | effectiveFrame value consumed by this operation. |
function playerWeaponTarget(player, registry)Return the player weapon target value.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
registry | dynamic | — | registry value consumed by this operation. |
function playerWorldProxy(player)Return the player world proxy value.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
function precacheSpawned(runtime, playerContext)Keep map startup bounded to the definitions that can actually participate in this level. The default Blaster/player model are the only unconditional player assets; duplicate item and monster instances reuse engine indices.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function prepareMonsterRuntimeState(actor)Prepare monster runtime state.
| Parameter | Type | Default | Description |
|---|---|---|---|
actor | dynamic | — | actor value consumed by this operation. |
function prepareSpawnedItem(runtime, itemEntity)Prepare spawned item.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
itemEntity | dynamic | — | itemEntity value consumed by this operation. |
function projectileFreeCount()Release projectile count.
function projectileLinkCount()Link projectile count.
function projectMonsterAttackFrame(runtime, actor, attackPlan)Project monster attack frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
attackPlan | dynamic | — | attackPlan value consumed by this operation. |
function recordFrameDispatch(runtime, number, kind)Record an optional scheduler probe without allocating in production frames.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
kind | dynamic | — | kind value consumed by this operation. |
function refreshAiRandom(runtime)Refresh ai random.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function releaseEdict(runtime, number)G_FreeEdict: preserve client and body-queue reservations and timestamp frees.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function releaseReservedEdict(runtime, number)Release reserved edict.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function reserveEdict(runtime)G_Spawn: reuse only eligible freed edicts, then extend globals.num_edicts.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function reserveSpawnerEdict(runtime)Reserve spawner edict.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function reserveWorldEffectEdict(runtime)Reuse a freed non-player edict before extending the protocol-visible table. Short-lived debris can otherwise exhaust MAX_EDICTS after several barrels.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function respawnTeamItem(runtime, itemEntity)Return the respawn team item value.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
itemEntity | dynamic | — | itemEntity value consumed by this operation. |
function restoreBodyQueue(runtime)Rebind body-queue records decoded from a private level save.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function runFrame(runtime)Run all non-client edicts in the original global numeric slot order.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
function runItemAtNumber(runtime, number)Run one managed item at its global edict slot.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function runMonsterAtNumber(runtime, number)Run one monster at its global edict slot.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function runMonsterCombat(runtime, actor)Select or continue the original class-specific combat sequence only after reaction/death moves have had priority. The function returns true when it owns this server frame and the generic AI path must not also advance it.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
function runPlayerGameplayFrame(runtime, playerContext)Run player gameplay frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function runWorldAtNumber(runtime, captureState, number)Run one world-owned edict, including an atomic pusher team at its captain.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
captureState | dynamic | — | captureState value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function runWorldThinkAtNumber(runtime, entity)Run one ordinary world think at its global edict slot.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
entity | dynamic | — | entity value consumed by this operation. |
function segmentWeaponTarget(start, finish, target)Return the segment weapon target value.
| Parameter | Type | Default | Description |
|---|---|---|---|
start | dynamic | — | start value consumed by this operation. |
finish | dynamic | — | finish value consumed by this operation. |
target | dynamic | — | target value consumed by this operation. |
function selectSightClient(runtime, playerContext)Rotate the one client considered by FindTarget this frame exactly like g_ai.c:AI_SetSightClient. Client slots, not the managed array order, define the sequence and FL_NOTARGET clients do not consume another player's turn.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function setPlayerGameplayGunFrame(gameplayPlayer, frame)Set player gameplay gun frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
gameplayPlayer | dynamic | — | gameplayPlayer value consumed by this operation. |
frame | dynamic | — | frame value consumed by this operation. |
function setSoldierDuckAttackBounds(runtime, actor, lowered)Set soldier duck attack bounds.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
lowered | dynamic | — | lowered value consumed by this operation. |
function startMutantJump(runtime, actor)Start mutant jump.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
actor | dynamic | — | actor value consumed by this operation. |
stockWorldGibModelsStores module-wide stock world gib models state for the miniquake2 game integration baseq2 module.
stockWorldSexedModelsStores module-wide stock world sexed models state for the miniquake2 game integration baseq2 module.
stockWorldSoundsSP_worldspawn's unconditional player/environment inventory. These package
function syncGameEdicts(runtime, exportTable)Synchronize game edicts.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
exportTable | dynamic | — | exportTable value consumed by this operation. |
function syncPlayers(runtime, playerContext)Synchronize players.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function thinkPlayerHandGrenade(player, playerContext, runtime, item)Run player hand grenade.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
runtime | dynamic | — | runtime value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
function thinkPlayerWeapon(player, playerContext)Run player weapon.
| Parameter | Type | Default | Description |
|---|---|---|---|
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function tossClientDeathItem(runtime, player, playerContext, item, yawOffset, spawnFlags)Create the two deathmatch-only drops from p_client.c:TossClientWeapon. Unlike the normal Drop command this must not mutate inventory: player_die clears it immediately after this callback, and the current weapon may be the player's last copy. Both results still use installDroppedItem, so they own real engine edicts, toss physics, models and pickup behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
yawOffset | dynamic | — | yawOffset value consumed by this operation. |
spawnFlags | dynamic | — | spawnFlags value consumed by this operation. |
function tossClientDeathItems(playerContext, player)Return the toss client death items value.
| Parameter | Type | Default | Description |
|---|---|---|---|
playerContext | dynamic | — | playerContext value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
function tossClientHeldGrenade(playerContext, player)ChangeWeapon throws a cooked hand grenade when its owner dies. The stock code sets grenade_time to level.time first, so the resulting hand grenade has a zero timer and detonates through the ordinary projectile path at the death muzzle. player_die invokes this only after marking the owner dead, so the immediate radius damage cannot recursively re-enter first-death logic.
| Parameter | Type | Default | Description |
|---|---|---|---|
playerContext | dynamic | — | playerContext value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
function touchDroppedItemTriggers(runtime, item)Dispatch G_TouchTriggers for a dropped item's newly linked toss position.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
item | dynamic | — | item value consumed by this operation. |
function touchEdict(runtime, edict, player, playerContext)Handle edict.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
edict | dynamic | — | edict value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function touchItem(runtime, itemEntity, player, playerContext)Handle item.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
itemEntity | dynamic | — | itemEntity value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function touchItemByNumber(runtime, number, player, playerContext)Handle item by number.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function touchNearbyItems(runtime, player, playerContext)Handle nearby items.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function touchPushedBody(runtime, kind, value)Dispatch the post-commit G_TouchTriggers pass for every pusher body kind. PlayerData, Actor and WorldEntity retain different authoritative shapes, so each branch reuses its normal trigger adapter instead of leaking snapshots.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
kind | dynamic | — | kind value consumed by this operation. |
value | dynamic | — | Value consumed or transformed by the operation. |
function touchWeaponProjectileTriggers(runtime, projectile)Adapt a managed projectile to the stock world-trigger callback surface after SV_PushEntity linked its final pose. Trigger mutations are copied back to the authoritative projectile record before the next physics frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
projectile | dynamic | — | projectile value consumed by this operation. |
function touchWorld(runtime, entity, player)Handle world.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
entity | dynamic | — | entity value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
function touchWorldByClass(runtime, className, player)Handle world by class.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
className | dynamic | — | className value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
function touchWorldByNumber(runtime, number, player)Handle world by number.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
player | dynamic | — | player value consumed by this operation. |
function touchWorldTossTriggers(runtime, entity)Match SV_PushEntity's post-link G_TouchTriggers pass for toss/bounce world records. baseWorldLink mirrors the server-computed expanded abs bounds back onto the managed entity before this query.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
entity | dynamic | — | entity value consumed by this operation. |
function updatePlayerTrail(runtime, playerContext)Update player trail.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
playerContext | dynamic | — | playerContext value consumed by this operation. |
function updateWorldTossWater(runtime, entity, oldOrigin)SV_Physics_Toss samples only the entity origin. Entry is positioned at the pre-move origin, while exit is positioned at the post-move origin.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
entity | dynamic | — | entity value consumed by this operation. |
oldOrigin | dynamic | — | oldOrigin value consumed by this operation. |
function useTriggeredItem(entity, other, activator, world)Use triggered item.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
activator | dynamic | — | activator value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function weaponTargetByNumber(runtime, number)Return the weapon target by number.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
number | dynamic | — | number value consumed by this operation. |
function weaponVector(value)Return the weapon vector value.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
function worldEntity(baseEdict)Return the world entity value.
| Parameter | Type | Default | Description |
|---|---|---|---|
baseEdict | dynamic | — | baseEdict value consumed by this operation. |
worldLaserBlockProxyStores module-wide world laser block proxy state for the miniquake2 game integration baseq2 module.
worldLaserClipScratchtarget_laser is evaluated every server frame. Reuse its clip and adapter
worldLaserEndScratchStores module-wide world laser end scratch state for the miniquake2 game integration baseq2 module.
worldLaserNormalScratchStores module-wide world laser normal scratch state for the miniquake2 game integration baseq2 module.
worldLaserPlayerProxyStores module-wide world laser player proxy state for the miniquake2 game integration baseq2 module.
worldLaserTraceScratchStores module-wide world laser trace scratch state for the miniquake2 game integration baseq2 module.
function worldWeaponTarget(entity)Return the world weapon target value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |