event
onNpcChangeHost (client-side)
Available since version: 0.3.0
This event is triggered when client receives new NPC action.
Parameters
int npc_id, bool toggle
int
npc_id: the remote npc identifier.bool
toggle:true
if npc becomes hosted by local player, otherwisefalse
.