OnNPCReachTarget: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{Info|Event|Server|1.0}}
{{Info|Event|Server|1.0}}


{{FuncDescription|Event thats called when a NPC reaches the target. Check the [[NPCFunctions]] for the follow functions.}}
{{FuncDescription|Event thats called when a NPC reaches the target. See the [[SetNPCTargetLocation]] function.}}


{{FuncSyntax|OnNPCReachTarget(npcid)}}
{{FuncSyntax|OnNPCReachTarget(npcid)}}

Latest revision as of 11:02, 2 September 2020

OnNPCReachTarget

Type: Event
Context: Server
Introduced: v1.0

Description

Event thats called when a NPC reaches the target. See the SetNPCTargetLocation function.

Syntax

OnNPCReachTarget(npcid)

Parameters

  • npcid
    The NPC identifier.

Example

__EDIT_ME__

See also