silenzer Posted May 31, 2010 Share Posted May 31, 2010 ... make Vicente Valtieri of the Dark Brotherhood attack me if I attempt to pick up a key in his sight? Link to comment Share on other sites More sharing options...
MontanaBlueSkies Posted May 31, 2010 Share Posted May 31, 2010 short stolekey if player.getitemcount "key" && stolekey == 0 if npc.getlos player npc.startcombat player else set stolekey to 1 endifendif This will startcombat between the npc and the player if in the same frame the player has the key and the npc has line of sight to the player. Else the player "stole" the key and wasnt detected. Hope this helps. Montana Link to comment Share on other sites More sharing options...
Recommended Posts