API SpellTargetUnit

From Wowpedia
Jump to: navigation, search

This specifies the target that the spell should use without needing you to click the target or make it your main target.

SpellTargetUnit(unitId)

Arguments

unitId 
String - unit you wish to cast the spell on.

Patch history

The Burning Crusade Patch 2.0.1 (2006-12-05): Protected.