AddOn Studio Wiki
Advertisement

WoW API < FactionToggleAtWar

Toggle the At War status of a faction row.

FactionToggleAtWar(rowIndex)

Parameters[]

Arguments[]

(rowIndex)
rowIndex 
Integer - The row index of the faction to toggle the At War status for. The row must have a true canToggleAtWar value (From GetFactionInfo)

Returns[]

nil


Details[]

The UPDATE_FACTION event will be fired after the change.
Advertisement