By George I think i figured it out.
Faction Dependant Towns/Areas:
Lua Code:
if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Wintergarde Keep"] ) or ( SubZoneName == SZ["The Carrion Fields"] ) or ( SubZoneName == SZ["Wintergarde Mausoleum"] ) or ( SubZoneName == SZ["Wintergarde Crypt"] ) or ( SubZoneName == SZ["Thorson's Post"] ) or ( SubZoneName == SZ["Wintergarde Mine"] ) ) and FinalFantasylization_IsPlaying == false then
if FinalFantasylization_InAllianceTownWintergardeKeep == false then
if ( factionEnglish == F["Alliance"] ) then
FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
FinalFantasylization_AllianceTownWintergardeKeep()
else
FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
end
FinalFantasylization_IsPlaying = true
FinalFantasylization_InAllianceTownWintergardeKeep = true
end
return
else
FinalFantasylization_InAllianceTownWintergardeKeep = false
end
Neutral Towns/Areas:
Lua Code:
if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Altar of Sha'tar"] ) and FinalFantasylization_IsPlaying == false then
if FinalFantasylization_InNeutralTownAltarOfShatar == false then
FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
FinalFantasylization_NeutralTownAltarOfShatar()
end
FinalFantasylization_IsPlaying = true
FinalFantasylization_InNeutralTownAltarOfShatar = true
return
else
FinalFantasylization_InNeutralTownAltarOfShatar = false
end
Full Zones (at bottom of list):
Lua Code:
if not ( IsResting () ) and ( ZoneName == Z["Alterac Mountains"] ) and FinalFantasylization_IsPlaying == false then
if FinalFantasylization_InEasternKingdomsAlteracMountains == false then
FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
FinalFantasylization_EasternKingdomsAlteracMountains()
end
FinalFantasylization_IsPlaying = true
FinalFantasylization_InEasternKingdomsAlteracMountains = true
else
FinalFantasylization_InEasternKingdomsAlteracMountains = false
end
whole lot less code to worry about now for the future