QuakeServer.Extensions.Things (quake_server v0.1.0)

Copy Markdown View Source

FTE's entity builtins: finding by float, flags and string into chains, entity numbers, copying, freeing at once, box traces and tossed traces, potentially-visible checks, touching triggers, turning in pitch, attachments, and reading and writing fields by their place in the program's field list.

A field read as text (getentityfieldstring, 499) is written as QuakeServer.Extensions.EntityText.value/4 writes it, or null when FTE leaves it out: drawflags at 96, uniquespawnid, dimension_solid, dimension_hit, dimension_see and dimension_seen at 255, a value whose first word is 0, and a zero vector when the program's first field is a vector.

edict_num (459) gives the entity of a number, the world for one out of range; while the program reads a file carried from an earlier level the number is first translated through the file's entity table (QuakeServer.EntityTable.entity/2).

Summary

Functions

Run entity builtin builtin (a number or a name).

Functions

call(s, arg2, argc)

@spec call(map(), integer() | String.t(), non_neg_integer()) :: map()

Run entity builtin builtin (a number or a name).