Below is the complete quest details for the new crime quest, It hooks into the guard npc's just fine in the dialogue windows (only my guards) but when I go ingame to test it, I pickpocket a guard while he is looking at me and he just gives me a generic response like "what" The below details are pretty much copied from the original crime quest and hand written back in as a unique quest, I even added the new crime script. I did change the GetIsRace (imperial) to GetInFaction (nyamaguardfaction) so only my guards would get the dialogue but nothing seems to be working, If anyone could just look throught what I have done and see if i missed something somewhere, I would appreciate it.
Hope it's readable I tried to type it in neatly.
Quest DetailsEditor ID: NyamaCrime
Quest Name: Nyama Isle Crime
Start game enable: Yes
Priority: 90
Script: NyamaCrimeScript:
CODE
ScriptName NyamaCrimeScript
Long PCBounty
Short PCEscaped
Quest Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
no GetIsPlayableRace None == 1
Bribe GuardEditor ID: nyamabribeguard
Display Text: Bribe Guard
Response Details:
I don't usually take bribes, but I'll look the other way just this once. If I see you again though, I'll have to arrest you. (FEAR - 100)
Result Script: Player.PayFine
Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
No GetInFaction Nyamaguardfaction == 1
No IsGuard None == 1
Yes GetEquiped TGGrayFoxCowl == 1
Yes GetEquiped TGGrayFoxCowl == 0
yes GetIsID Player == 1
Pay GoldEditor ID: nyamapaygold
Display Text: Pay Gold
Response Details:
1. Here's the procedure. We go to the castle. First we search you, confiscate any stolen goods. Then you pay your fine, and we release you. (NEUTRAL - 50)
Result Script: Player.PayFine (Goodbye)
Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
No GetInFaction Nyamaguardfaction == 1
Yes GetCrimeGold None < 5000
No IsGuard None == 1
no GetDisposition [TARGET] > 50
2a. That's too bad. I was hoping you'd resist arrest. (ANGER - 100)
2b. Okay. Here's the procedure. We go to the castle. First we search you, confiscate any stolen goods. Then you pay your fine, and we release you. (Disgust - 100)
Result Script: Player.PayFine (GOODBYE)
Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
No GetInFaction Nyamaguardfaction == 1
No IsGuard None == 1
No GetDisposition [TARGET] <= 50
yes GetCrimeGold None < 5000
Resist ArrestEditor ID: nyamaresistarrest
Display Text: Resist Arrest
Response Details:
1. I'll make Captain for this! (HAPPY – 100)
Result Script: StartCombat Player (GOODBYE)
Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
No GetInFaction Nyamaguardfaction == 1
No IsGuard None == 1
Yes GetEquiped TGGrayFoxCowl == 1
Yes GetIsID Player == 1
no GetRandomPercent None < 60
2. Then pay with your blood! (ANGER - 0)
Result Script: ModDisposition Player -10 (GOODBYE)
StartCombat Player
Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
No GetInFaction Nyamaguardfaction == 1
No IsGuard None == 1
Serve SentenceEditor ID: nyamaservesentence
Display Text: Serve Sentence
Response Details:
1. Serve your time peaceably, and pay your debt to society. (NEUTRAL – 50)
Result Script: Player.GotoJail (GOODBYE)
NyamaPCCellDoorRef.Lock
Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
No GetInFaction Nyamaguardfaction == 1
No IsGuard None == 1
No GetDisposition {TARGET} >= 50
2. Hope you rot, criminal scum. (ANGER – 0)
Result Script: Player.GotoJail (GOODBYE)
Set Crime.PCEscaped to 0
NyamaPCCellDoorRef.Lock
Conditions:
[Target] [Function Name] [Function Info] [Comp] [Value]
No GetInFaction Nyamaguardfaction == 1
No GetDisposition {TARGET} < 50
No IsGuard None == 1