IF
PickPocketFailed([PC])
Allegiance(Myself,NEUTRAL)
General(Myself,HUMANOID)
!StateCheck(Myself,CD_STATE_NOTVALID)
See(LastTrigger)
!Allegiance(LastTrigger,FAMILIAR)
THEN
RESPONSE #100
StartDialogOverride("RR#PICKP",LastTrigger)
END
IF
PickPocketFailed([FAMILIAR])
Allegiance(Myself,NEUTRAL)
General(Myself,HUMANOID)
!StateCheck(Myself,CD_STATE_NOTVALID)
See(LastTrigger)
THEN
RESPONSE #100
SetInterrupt(0)
FaceObject(LastTrigger)
DisplayStringHead(Myself,438468) // Get away from me you filthy creature!
SetSequence(SEQ_ATTACK)
ApplySpellRES("RR#FEAR",LastTrigger) // No such index
SetInterrupt(1)
END
IF
Allegiance(Myself,NEUTRAL)
Global("VP_HalruaaHostile","GLOBAL",0)
OR(3)
See("TuMage1")
See("TuMage2")
See("Tertia")
THEN
RESPONSE #100
SetGlobal("VP_HalruaaHostile","GLOBAL",1)
CreateCreatureDoor("TuMage3",[1021.2727],0) // Mage
CreateCreatureDoor("TuMage3",[1161.2814],0) // Mage
END
IF
NumTimesTalkedTo(0)
See([PC])
Allegiance(Myself,NEUTRAL)
THEN
RESPONSE #100
StartDialogueNoSet([PC])
END
IF
Allegiance(Myself,NEUTRAL)
Global("VP_HalruaaHostile","GLOBAL",1)
THEN
RESPONSE #100
Enemy()
END
IF
Allegiance(Myself,NEUTRAL)
AttackedBy([PC],DEFAULT)
THEN
RESPONSE #100
SetGlobal("VP_HalruaaHostile","GLOBAL",1)
Enemy()
END
IF
Die()
Global("VP_HalruaaHostile","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("VP_HalruaaHostile","GLOBAL",1)
Enemy()
END
IF
Global("VP_Leaving_Halruaa","GLOBAL",5)
Allegiance(Myself,NEUTRAL)
THEN
RESPONSE #100
Enemy()
END