I have a script which performs a check to see if two quests are running. These are DGIntimidateQuest and c00JorrvaskrFight.
EVENT onHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
if (brawlquest.isrunning()) || (fighterQuest.isrunning())
questcheck = 1
else
questcheck = 0
endif
debug.messagebox("test"+questcheck)
(properties are all correctly defined)
So when I run this plugin on a character who has completed the main quest, and the majority of side quests: or a character who is just about to attack the first dragon: the script works perfectly: i am output a 0 whenever I am hit outside of a brawl, and a 1 when hit inside of a brawl.
When I run this on a new character, it always outputs 1 and I am not sure why: does anyone know of anything that could be causing this?
Now as I am writing this, I though that perhaps the c00jorrvaskrFight (which I beleive is associated with the spar session in jorrvaskr on first entry) is always running until you enter the building. I haavent delved into quests yet so I am not sure how I can verify this.
If this is the case, I may have to alter my script to check to see if the brawl quest is running or if the player is inside jorvaskrr - Not sure how to do this yet.
any thoughts?
(Apologies: This isnt the most structured topic I have made, synapses are firing while I am in mod-mode and its ahrd to organise my thoughts!)
