Files
src/miniquake2/game/world/misc.ml
Provides miniquake2 game world misc facilities for this project.
- Package
miniquake2.game.world.misc- Reachable
- Yes
Imports
Declarations
# areaPortalUse
function areaPortalUse(entity, other, activator, world)
func_areaportal from g_misc.c. Doors also drive linked areaportals through mover code, but a directly targeted portal must own the stock toggle use.
| 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. |
View source
# bannerThink
function bannerThink(entity, world)
Run banner.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# barrelDelay
function barrelDelay(entity, inflictor, attacker, damage, point, world)
Return the barrel delay value.
| 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. |
View source
# barrelDropToFloor
function barrelDropToFloor(entity, world)
Drop barrel to floor.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# barrelExplode
function barrelExplode(entity, world)
Return the barrel explode value.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# barrelTouch
function barrelTouch(entity, other, world)
Handle barrel.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# blackHoleThink
function blackHoleThink(entity, world)
Run black hole.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# blackHoleUse
function blackHoleUse(entity, other, activator, world)
Remaining stock g_misc.c set pieces. Model registration is injected through setModel; animation and movement remain world-owned deterministic state.
| 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. |
View source
# deadSoldierDie
function deadSoldierDie(entity, inflictor, attacker, damage, point, world)
Handle dead soldier.
| 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. |
View source
# debrisDie
function debrisDie(entity, inflictor, attacker, damage, point, world)
ThrowDebris uses a quiet damage callback: shooting a chunk removes it but must not create a blood/gib effect.
| 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. |
View source
# easterChick2Think
function easterChick2Think(entity, world)
Run easter chick 2.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# easterChickThink
function easterChickThink(entity, world)
Run easter chick.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# easterTankThink
function easterTankThink(entity, world)
Run easter tank.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# findWorldViper
function findWorldViper(world)
Find world viper.
| Parameter | Type | Default | Description |
|---|
world | dynamic | — | world value consumed by this operation. |
View source
# funcObjectRelease
function funcObjectRelease(entity, world)
Release func object.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# funcObjectTouch
function funcObjectTouch(entity, other, world)
Handle func object.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# funcObjectUse
function funcObjectUse(entity, other, activator, world)
Use func object.
| 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. |
View source
# gibDie
function gibDie(entity, inflictor, attacker, damage, point, world)
Handle gib.
| 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. |
View source
# gibFree
function gibFree(entity, world)
Release gib.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# lightUse
function lightUse(entity, other, activator, world)
Use light.
| 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. |
View source
# pathCornerTouch
function pathCornerTouch(entity, other, world)
path_corner from g_misc.c. AI-private walk/stand state stays behind the existing actorTransition callback used by target_actor.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# pointCombatTouch
function pointCombatTouch(entity, other, world)
point_combat from g_misc.c. AI_COMBAT_POINT and stand-ground mutations live behind combatPointTransition; this world layer owns route consumption, target lookup and G_UseTargets activator selection.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# resetWorldClock
function resetWorldClock(entity)
Reset world clock.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
View source
# rotatingBlocked
function rotatingBlocked(entity, other, world)
Report whether rotating blocked.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# rotatingTouch
function rotatingTouch(entity, other, world)
Handle rotating.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# rotatingUse
function rotatingUse(entity, other, activator, world)
Use rotating.
| 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. |
View source
# satelliteDishThink
function satelliteDishThink(entity, world)
Run satellite dish.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# satelliteDishUse
function satelliteDishUse(entity, other, activator, world)
Use satellite dish.
| 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. |
View source
# shrinkFuncObjectBounds
function shrinkFuncObjectBounds(entity)
Return the shrink func object bounds.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
View source
# SP_func_clock
function SP_func_clock(entity, world)
Spawn func clock.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_info_notnull
function SP_info_notnull(entity, world)
Spawn info notnull.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_light_mine2
function SP_light_mine2(entity, world)
Spawn light mine 2.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_misc_blackhole
function SP_misc_blackhole(entity, world)
Spawn misc blackhole.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_misc_easterchick
function SP_misc_easterchick(entity, world)
Spawn misc easterchick.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_misc_easterchick2
function SP_misc_easterchick2(entity, world)
Spawn misc easterchick 2.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_misc_eastertank
function SP_misc_eastertank(entity, world)
Spawn misc eastertank.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_misc_satellite_dish
function SP_misc_satellite_dish(entity, world)
Spawn misc satellite dish.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_misc_viper
function SP_misc_viper(entity, world)
Spawn misc viper.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_misc_viper_bomb
function SP_misc_viper_bomb(entity, world)
Spawn misc viper bomb.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_point_combat
function SP_point_combat(entity, world)
Spawn point combat.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_target_character
function SP_target_character(entity, world)
Spawn target character.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# SP_target_string
function SP_target_string(entity, world)
Spawn target string.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnAreaPortal
function spawnAreaPortal(entity, world)
Spawn area portal.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnBanner
function spawnBanner(entity, world)
Spawn banner.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnBigViper
function spawnBigViper(entity, world)
Spawn big viper.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnBlackHole
function spawnBlackHole(entity, world)
Spawn black hole.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnDeadSoldier
function spawnDeadSoldier(entity, world)
Spawn dead soldier.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnEasterChick
function spawnEasterChick(entity, world)
Spawn easter chick.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnEasterChick2
function spawnEasterChick2(entity, world)
Spawn easter chick 2.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnEasterTank
function spawnEasterTank(entity, world)
Spawn easter tank.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnExplobox
function spawnExplobox(entity, world)
Spawn explobox.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnGibArm
function spawnGibArm(entity, world)
Spawn gib arm.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnGibHead
function spawnGibHead(entity, world)
Spawn gib head.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnGibLeg
function spawnGibLeg(entity, world)
Spawn gib leg.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnGibPart
function spawnGibPart(entity, modelName, world)
Spawn gib part.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
modelName | dynamic | — | modelName value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnInfoNotNull
function spawnInfoNotNull(entity, world)
Spawn info not null.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnLight
function spawnLight(entity, world)
Spawn light.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnLightMine1
function spawnLightMine1(entity, world)
Spawn light mine 1.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnLightMine2
function spawnLightMine2(entity, world)
Spawn light mine 2.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnNull
function spawnNull(entity, world)
Spawn null.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnObject
function spawnObject(entity, world)
Spawn object.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnPathCorner
function spawnPathCorner(entity, world)
Spawn path corner.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnPointCombat
function spawnPointCombat(entity, world, deathmatch)
Spawn point combat.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
deathmatch | dynamic | — | deathmatch value consumed by this operation. |
View source
# spawnRotating
function spawnRotating(entity, world)
Spawn rotating.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnSatelliteDish
function spawnSatelliteDish(entity, world)
Spawn satellite dish.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnStroggShip
function spawnStroggShip(entity, world)
Spawn strogg ship.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnTargetCharacter
function spawnTargetCharacter(entity, world)
target_character / target_string from g_misc.c.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnTargetString
function spawnTargetString(entity, world)
Spawn target string.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnTeleporter
function spawnTeleporter(entity, world)
Spawn teleporter.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnTeleporterDestination
function spawnTeleporterDestination(entity, world)
Spawn teleporter destination.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnViewThing
function spawnViewThing(entity, world)
Spawn view thing.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnViper
function spawnViper(entity, world)
Spawn viper.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnViperBomb
function spawnViperBomb(entity, world)
Spawn viper bomb.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnWall
function spawnWall(entity, world)
Spawn wall.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# spawnWorldClock
function spawnWorldClock(entity, world)
Spawn world clock.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# stroggShipUse
function stroggShipUse(entity, other, activator, world)
Use strogg ship.
| 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. |
View source
# targetStringFrame
function targetStringFrame(character)
Return the target string frame value.
| Parameter | Type | Default | Description |
|---|
character | dynamic | — | character value consumed by this operation. |
View source
# teleporterTouch
function teleporterTouch(entity, other, world)
Handle teleporter.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# useTargetString
function useTargetString(entity, other, activator, world)
Use target string.
| 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. |
View source
# useWorldClock
function useWorldClock(entity, other, activator, world)
Use world clock.
| 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. |
View source
# viewThingThink
function viewThingThink(entity, world)
Run view thing.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# viperBombPreThink
function viperBombPreThink(entity, world)
Run viper bomb pre.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# viperBombTouch
function viperBombTouch(entity, other, world)
Handle viper bomb.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# viperBombUse
function viperBombUse(entity, other, activator, world)
Use viper bomb.
| 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. |
View source
# viperUse
function viperUse(entity, other, activator, world)
Use viper.
| 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. |
View source
# wallUse
function wallUse(entity, other, activator, world)
Use wall.
| 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. |
View source
# worldClockDisplay
function worldClockDisplay(entity, world)
Return the world clock display value.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# worldClockFormatValue
function worldClockFormatValue(value, style)
Format world clock value.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
style | dynamic | — | style value consumed by this operation. |
View source
# worldClockThink
function worldClockThink(entity, world)
Run world clock.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
View source
# worldClockTwoDigits
function worldClockTwoDigits(value)
Return the world clock two digits value.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
View source
# worldClockTwoWide
function worldClockTwoWide(value)
func_clock. The original localtime dependency is injected as clockSeconds; timer-up/down paths remain entirely scheduler-driven and deterministic.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
View source