AreaTriggerSpell

Returns the spellID of a WowGameObject representation of an Area Trigger

AreaTriggerSpell(--[[(1)]]objectReference) : id | false
  1. See Object Reference for more information on possible values.

Example

Get the id.

local id = AreaTriggerSpell(object)