[Papyrus] Is there a way to know when the player is fighting

Post » Tue Jun 19, 2012 2:57 pm

That code is actually out-of-date, and since just recently, we know it doesn't cover all brawl quests, also the code has been refined to be less overzealous.
Oh I see. Care to share? :P
User avatar
Bigze Stacks
 
Posts: 3309
Joined: Sun May 20, 2007 5:07 pm

Post » Tue Jun 19, 2012 5:43 pm

Of course -- it's used in http://skyrim.nexusmods.com/downloads/file.php?id=12575 by thesniperdevil which BTW ships with scripts as source.
Also, I believe I was wrong about it not detecting all brawls.

Anyway, here is the relevant excerpt:
Quest property DGIntimidateQuest autoQuest property C00JorrvaskrFight autoLocation property WhiterunJorrvaskrLocation auto; target is some Actorif ((DGIntimidateQuest.IsRunning() && DGIntimidateQuest.GetCurrentStageID() < 100) || \	(target.GetCurrentLocation() == WhiterunJorrvaskrLocation && \	 C00JorrvaskrFight.IsRunning() && C00JorrvaskrFight.GetCurrentStageID() < 100))	; this is a brawlendif
User avatar
Sakura Haruno
 
Posts: 3446
Joined: Sat Aug 26, 2006 7:23 pm

Post » Tue Jun 19, 2012 7:47 pm

Of course -- it's used in http://skyrim.nexusmods.com/downloads/file.php?id=12575 by thesniperdevil which BTW ships with scripts as source.
Also, I believe I was wrong about it not detecting all brawls.

Anyway, here is the relevant excerpt:
Quest property DGIntimidateQuest autoQuest property C00JorrvaskrFight autoLocation property WhiterunJorrvaskrLocation auto; target is some Actorif ((DGIntimidateQuest.IsRunning() && DGIntimidateQuest.GetCurrentStageID() < 100) || \	(target.GetCurrentLocation() == WhiterunJorrvaskrLocation && \	 C00JorrvaskrFight.IsRunning() && C00JorrvaskrFight.GetCurrentStageID() < 100))	; this is a brawlendif
Sweet, thanks.
User avatar
Avril Louise
 
Posts: 3408
Joined: Thu Jun 15, 2006 10:37 pm

Previous

Return to V - Skyrim