SetNPCOutline

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SetNPCOutline

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the outline on the specified NPC.

Syntax

SetNPCOutline(npc [, bEnable])

Parameters

  • npc
    The NPC indentifier.
  • bEnable (optional)
    The boolean status.

Return Value

  • This function returns nothing.

Example

AddEvent("OnNPCStreamIn", function(npcid)
	SetNPCOutline(npcid, true)
end)

See also