Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

updateTarget

updateTarget(writer, character, settings): void

Keeps character’s target current, once a frame: a pinned target stays while it is a hostile target alive, and otherwise soft lock takes the nearest in front and tab mode takes none.

Parameter Type
writer ViewWriter | SystemStep
character Entity
settings TargetingSettings

void