updateTarget
updateTarget(
world,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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
character |
Entity |
settings |
TargetingSettings |
Returns
Section titled “Returns”void