OnNPCReachTarget: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnNPCReachTarget}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}" |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Info|Event|Server|1.0}} | {{Info|Event|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Event thats called when a NPC reaches the target. See the [[SetNPCTargetLocation]] function.}} | ||
{{FuncSyntax|OnNPCReachTarget}} | {{FuncSyntax|OnNPCReachTarget(npcid)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|npcid|The NPC identifier.}} | |||
== Example == | == Example == | ||
__EDIT_ME__ | __EDIT_ME__ | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{ | {{Template:NPCEvents}} |
Latest revision as of 11:02, 2 September 2020
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__