# allocate
function allocate(edicts, currentTime)
Implements the `allocate` operation for `miniquake.edict` (allocate).
| Parameter | Type | Default | Description |
|---|
edicts | dynamic | — | The edicts input consumed by `allocate`. |
currentTime | dynamic | — | Time value used by the operation. |
View source
# free
function free(item, currentTime)
Implements the `free` operation for `miniquake.edict` (free).
| Parameter | Type | Default | Description |
|---|
item | dynamic | — | The item input consumed by `free`. |
currentTime | dynamic | — | Time value used by the operation. |
View source
# fromEntity
function fromEntity(number, entity)
Implements the `fromEntity` operation for `miniquake.edict` (from entity).
| Parameter | Type | Default | Description |
|---|
number | dynamic | — | The number input consumed by `fromEntity`. |
entity | dynamic | — | Entity affected by the operation. |
View source
# numberValue
function numberValue(text, fallback)
Return number value derived from the active module state.
| Parameter | Type | Default | Description |
|---|
text | dynamic | — | Text to parse or process. |
fallback | dynamic | — | Value to use when the requested input is unavailable or invalid. |
View source
# setPair
function setPair(edict, key, newValue)
Update module state for pair.
| Parameter | Type | Default | Description |
|---|
edict | dynamic | — | QuakeC edict affected by the operation. |
key | dynamic | — | Key used to identify the requested entry. |
newValue | dynamic | — | The new value input consumed by `setPair`. |
View source
# spawnPoint
function spawnPoint(edicts, deathmatch)
Allocate and initialize point.
| Parameter | Type | Default | Description |
|---|
edicts | dynamic | — | The edicts input consumed by `spawnPoint`. |
deathmatch | dynamic | — | The deathmatch input consumed by `spawnPoint`. |
View source
# value
function value(entity, key)
Return value derived from the active module state.
| Parameter | Type | Default | Description |
|---|
entity | dynamic | — | Entity affected by the operation. |
key | dynamic | — | Key used to identify the requested entry. |
View source