Skip to content

function useItemToStateQueued (client-side)

Available since version: 0.3.2

This function pushes use/interact/open item action in specific state on player/npc action queue.

Declaration

void useItemToStateQueued(int id, string instance, int state)

Parameters

  • int id: the player id.
  • string instance: the item instance from Daedalus scripts.
  • int state: the state that you'll start from interacting with item.