Skip to content

function setPlayerInstance (client-side)

Available since version: 0.1.1

This function will set the npc instance. Instance describes the npc attributes, like visual, stats, and more.. You can find more information about npc instances in daedalus scripts.

Declaration

void setPlayerInstance(int id, string instance)

Parameters

  • int id: the npc id.
  • string instance: .