OnNPCStreamOut: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Event|Server & Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnNPCStreamOut(npc, player)}} {{FuncSyntaxClient|OnNPCStreamOut(npc)}} {{FuncParameters}} {{...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Event|Server & Client|1.0}}
{{Info|Event|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Called when a NPC is streamed out from the server. }}


{{FuncSyntax|OnNPCStreamOut(npc, player)}}
{{FuncSyntax|OnNPCStreamOut(npc, player)}}
Line 14: Line 14:


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerEvents}}
{{NPCEvents}}

Latest revision as of 11:01, 1 September 2020

OnNPCStreamOut

Type: Event
Context: Server & Client
Introduced: v1.0

Description

Called when a NPC is streamed out from the server.

Syntax

OnNPCStreamOut(npc, player)
Client Syntax
OnNPCStreamOut(npc)

Parameters

  • npc
    The NPC for the other player is streamed out.
  • player
    The player that streams out for npc.

Example

__EDIT_ME__

See also