setWalkTarget
setWalkTarget(
writer,npc,target):void
Sets where npc’s walkToTarget() step walks: an entity, a point, or
null for none, which leaves the step standing until a target is set.
As Unity’s SetDestination, set before or during the step.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
EntityAuthority | SystemStep |
npc |
Entity |
target |
Entity | RoutePoint | null |
Returns
Section titled “Returns”void