When will OnAlarm trigger?

Post » Thu Oct 25, 2012 4:40 pm

I have now set Responsibility and Sneak to 100 for all 3 NPCs, but can't get OnAlarm to trigger in their scripts reliably. Obviously, I get caught, but their Disposition toward me is 100, which I want to change when caught.

Here is the code for 1 of them:

Begin OnAlarm 1, Player    ; Pickpocket    Message "busted Vera!"    Player.SetFactionRank RICTPElVeraFaction -1    Set RICTPMaterialsQuest.PlayerHitOne to 1end

The last instruction causes my quest script to do a StartCombat, which is unnecessary after the faction change. I don't even see the message tho.

Is there any way to make this work?

Thanks.
User avatar
Bigze Stacks
 
Posts: 3309
Joined: Sun May 20, 2007 5:07 pm

Return to IV - Oblivion