Djinni Wiki
Advertisement

function GetTrapBaseType (object oTrapObject)

Get the trap base type (TRAP_BASE_TYPE_*) of oTrapObject.

  • oTrapObject: a placeable, door or trigger
  • Return type: int
  • Include file: nwscriptdefn
Advertisement