Difference between revisions of "LUA:StartHeroicOpportunity"

(Created page with "= LUA Functions: StartHeroicOpportunity) = Initiates the heroic opportunity starters ==== Syntax ==== SetTradeskillClass(param1, param2) ==== Parameters ==== ; Required - '...")
 
 
Line 1: Line 1:
= LUA Functions: StartHeroicOpportunity) =
+
= LUA Functions: StartHeroicOpportunity() =
 
Initiates the heroic opportunity starters
 
Initiates the heroic opportunity starters
  
 
==== Syntax ====
 
==== Syntax ====
SetTradeskillClass(param1, param2)
+
StartHeroicOpportunity(param1, param2)
  
  

Latest revision as of 12:26, 1 March 2021

LUA Functions: StartHeroicOpportunity()

Initiates the heroic opportunity starters

Syntax

StartHeroicOpportunity(param1, param2)


Parameters

Required - param1 (Spawn), param2 (int8)
param1 is the spawn that will start the Heroic Opportunity
param2 is the class id


Usage

function cast(Caster, Target)
    -- Begins a Heroic Opportunity
StartHeroicOpportunity(Caster, 21)
end