HasResource

Prototype: GemRB.HasResource (ResRef, ResType[, silent])

Description: Returns true if the resource is accessible.

Parameters:

  • ResRef - the resource reference (8 characters filename)
  • ResType - the class ID of the resource
  • silent - if nonzero, don’t give any output

Return value: boolean


Back to function index, GUIScript introduction.