SCTX |
Scriptname ArenaBlueDoorICMonstersScript
Begin OnActivate
if IsActionRef player == 1
;this gives a pop-up message on the Blue Team's door when an Arena match is in session and the player can't enter
if ArenaICGrandChampion.FightOver == 0
MessageBox "You may not exit the Arena until you have slain all the creatures!"
Lock 100
endif
;this unlocks the Blue Team's door after a fight has been won
if ArenaICGrandCHampion.FightOver == 2
Unlock
Activate
player.SetFactionRank Arenaplayer, -1
endif
endif
End
|