# accelerateMove
function accelerateMove(moveInfo)Move accelerate.
| Parameter | Type | Default | Description |
|---|---|---|---|
moveInfo | dynamic | — | moveInfo value consumed by this operation. |
src/miniquake2/game/world/movers.mlProvides miniquake2 game world movers facilities for this project.
miniquake2/game/world/constants.ml as gwconstants → src/miniquake2/game/world/constants.mlminiquake2/game/world/core.ml as gwcore → src/miniquake2/game/world/core.mlminiquake2/game/world/types.ml as gwtypes → src/miniquake2/game/world/types.mlminiquake2/game/world/vector.ml as gwvector → src/miniquake2/game/world/vector.mlminiquake2/qcommon/byteio.ml as qbyteio → src/miniquake2/qcommon/byteio.mlminiquake2/qcommon/types.ml as qt → src/miniquake2/qcommon/types.mlstd/math.ml as smath → ../MiniLangCompilerML/std/math.ml external dependencyfunction accelerateMove(moveInfo)Move accelerate.
| Parameter | Type | Default | Description |
|---|---|---|---|
moveInfo | dynamic | — | moveInfo value consumed by this operation. |
function accelerationDistance(target, rate)Return the acceleration distance value.
| Parameter | Type | Default | Description |
|---|---|---|---|
target | dynamic | — | target value consumed by this operation. |
rate | dynamic | — | rate value consumed by this operation. |
function buttonDone(entity, world)func_button
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function buttonFire(entity, world)Fire button.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function buttonKilled(entity, inflictor, attacker, damage, point, world)Return the button killed 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. |
function buttonReturn(entity, world)Return button.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function buttonTouch(entity, other, world)Handle button.
| 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. |
function buttonUse(entity, other, activator, world)Use button.
| 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 buttonWait(entity, world)Return the button wait value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function calculateAcceleratedMove(moveInfo)Calculate accelerated move.
| Parameter | Type | Default | Description |
|---|---|---|---|
moveInfo | dynamic | — | moveInfo value consumed by this operation. |
function calculateDoorMoveSpeed(entity, world)Calculate door move speed.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function configureSecretDoorGeometry(entity, world)func_door_secret is a two-leg mover. It slides sideways, pauses, moves forward, waits open, then reverses the same two legs.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function conveyorUse(entity, other, activator, world)func_conveyor
| 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 doorBlocked(entity, other, world)Report whether door 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. |
function doorGoDown(entity, world)Return the door go down value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function doorGoUp(entity, activator, world)Return the door go up value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
activator | dynamic | — | activator value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function doorHitBottom(entity, world)Return the door hit bottom value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function doorHitTop(entity, world)Return the door hit top value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function doorKilled(entity, inflictor, attacker, damage, point, world)Return the door killed 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. |
function doorTouch(entity, other, world)Handle door.
| 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. |
function doorTriggerTouch(trigger, other, world)Handle door trigger.
| Parameter | Type | Default | Description |
|---|---|---|---|
trigger | dynamic | — | trigger value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function doorUse(entity, other, activator, world)Use door.
| 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 doorUseAreaPortals(entity, isOpen, world)func_door
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
isOpen | dynamic | — | isOpen value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function elevatorInit(entity, world)Initialize elevator.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function elevatorUse(entity, other, activator, world)trigger_elevator from g_func.c. The train remains the authoritative mover; the trigger only resolves a requested path_corner and resumes it.
| 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 explosiveExplode(entity, inflictor, attacker, damage, point, world)func_explosive from g_misc.c (kept here with the brush movers).
| 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 explosiveSpawn(entity, other, activator, world)Spawn explosive.
| 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 explosiveUse(entity, other, activator, world)Use explosive.
| 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 killBoxUse(entity, other, activator, world)func_killbox from g_func.c.
| 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 moveBegin(entity, world)Move begin.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function moveCalc(entity, destination, endFunction, world)Move calc.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
destination | dynamic | — | destination value consumed by this operation. |
endFunction | dynamic | — | endFunction value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function moveDone(entity, world)Move done.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function moveFinal(entity, world)Move final.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function platBlocked(entity, other, world)Report whether plat 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. |
function platCenterTouch(trigger, other, world)Handle plat center.
| Parameter | Type | Default | Description |
|---|---|---|---|
trigger | dynamic | — | trigger value consumed by this operation. |
other | dynamic | — | other value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function platGoDown(entity, world)Return the plat go down value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function platGoUp(entity, world)Return the plat go up value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function platHitBottom(entity, world)Return the plat hit bottom value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function platHitTop(entity, world)func_plat
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function platUse(entity, other, activator, world)Use plat.
| 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 refreshBrushGeometry(entity, world)Inline BSP bounds arrive through game_import_t.setmodel after the managed spawn callbacks have established behavior. Rebuild only the geometric endpoints here; do not reapply speed scaling or allocate trigger helpers.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function restoreMoverState(entity, world)Rebind serialized callback identities from classname/state. Function values are deliberately not written to disk; the deterministic spawn path restores behavior and this boundary restores the currently pending mover callback.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function rotatingDoorGoDown(entity, world)Return the rotating door go down value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function rotatingDoorGoUp(entity, activator, world)Return the rotating door go up value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
activator | dynamic | — | activator value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function rotatingDoorHitBottom(entity, world)Return the rotating door hit bottom value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function rotatingDoorHitTop(entity, world)Return the rotating door hit top value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function rotatingDoorUse(entity, other, activator, world)Use rotating door.
| 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 secretDoorBlocked(entity, other, world)Report whether secret door 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. |
function secretDoorDie(entity, inflictor, attacker, damage, point, world)Handle secret door.
| 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 secretDoorDone(entity, world)Return the secret door done value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function secretDoorMove1(entity, world)Move secret door 1.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function secretDoorMove2(entity, world)Move secret door 2.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function secretDoorMove3(entity, world)Move secret door 3.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function secretDoorMove4(entity, world)Move secret door 4.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function secretDoorMove5(entity, world)Move secret door 5.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function secretDoorMove6(entity, world)Move secret door 6.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function secretDoorUse(entity, other, activator, world)Use secret door.
| 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 SP_func_button(entity, world)Spawn func button.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_conveyor(entity, world)Spawn func conveyor.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_door(entity, world)Spawn func door.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_door_secret(entity, world)Spawn func door secret.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_explosive(entity, world, deathmatch)Spawn func explosive.
| 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. |
function SP_func_killbox(entity, world)Spawn func killbox.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_plat(entity, world)Spawn func plat.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_timer(entity, world)Spawn func timer.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_train(entity, world)Spawn func train.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_func_water(entity, world)Spawn func water.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function SP_trigger_elevator(entity, world)Spawn trigger elevator.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnButton(entity, world)Spawn button.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnConveyor(entity, world)Spawn conveyor.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnDoor(entity, world)Spawn door.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnDoorTrigger(entity, world)Spawn door trigger.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnElevator(entity, world)Spawn elevator.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnExplosive(entity, world, deathmatch)Spawn explosive.
| 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. |
function spawnKillBox(entity, world)Spawn kill box.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnPlat(entity, world)Spawn plat.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnPlatInsideTrigger(entity, world)Report whether spawn plat inside trigger.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnRotatingDoor(entity, world)Spawn rotating door.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnSecretDoor(entity, world)Spawn secret door.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnTimer(entity, world)Spawn timer.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnTrain(entity, world)Spawn train.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function spawnWater(entity, world)func_water reuses door_use only after establishing its distinct defaults: 25-unit speed, zero lip, no blocked callback and a wait=-1 toggle.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function thinkAcceleratedMove(entity, world)Run accelerated move.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function timerThink(entity, world)func_timer
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function timerUse(entity, other, activator, world)Use timer.
| 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 trainBlocked(entity, other, world)Report whether train 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. |
function trainFind(entity, world)Find train.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function trainNext(entity, world)Return the train next value.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function trainResume(entity, world)Resume train.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |
function trainUse(entity, other, activator, world)Use train.
| 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 trainWait(entity, world)func_train
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | entity value consumed by this operation. |
world | dynamic | — | world value consumed by this operation. |