Jump to content

Nawor3565

Premium Member
  • Posts

    3
  • Joined

  • Last visited

Nexus Mods Profile

About Nawor3565

Profile Fields

  • Country
    None

Nawor3565's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. So I have a faction set up, consisting of 5 NPCs in an area. One of the NPCs is a guard, who has a ForceDialogue event with the player as soon as the player enters the area. What I would like to happen is, should the player choose a specific dialogue option, every member of the faction becomes aggressive and attacks the player. However, I CANNOT get this to work. I use akspeaker.startcombat(Game.GetPlayer()) in the End Dialogue papyrus fragment, and the guard does become aggressive, but no one else in the faction does. If I attack the guard first with a bow/arrow, everyone will become aggressive like you'd expect, but if the guard initiates combat, I can attack him and no one else will care. I understand why, it's just like what happens with the Dark Brotherhood contracts, where every target has a dialogue option that will make them aggressive and allow you to kill them without it being considered murder. But I cannot figure out what the best way is to work around it. I tried adding akSpeaker.SendAssaultAlarm() to the papyrus fragment but that didn't change anything. Can anyone help me figure out what the most straightforward way to do this would be? Thanks!
  2. Thank you so much! I grabbed the latest development build and the script works great now.
  3. I'm having an issue when compiling scripts. When I hit "compile", the dialog comes up totally empty, no messages at all. My very simple script didn't work, so I checked the .psc file in \Source\Scripts, and here's exactly what was in the file: Starting 1 compile threads for 1 files... Compiling "test"... J:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\test.psc(0,0): error while attempting to read script test: The process cannot access the file 'J:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\test.psc' because it is being used by another process. No output generated for test, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on test shed. 0 succeeded, 1 failed. Failed on TIF__05098865 Actor Property Guard1 Auto Int Property NewProperty Auto Actor Property awd Auto ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 6 Scriptname test Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE akspeaker.startcombat(Game.GetPlayer()) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Why is the compiler log being written to the .psc file? And what program could be accessing the script and breaking the compiler? The same thing happened with every single script I've tried. One other person online has this problem, but they didn't share how they fixed it. I have Notepad++ working as a compiler, but it doesn't seem to work with Papyrus fragments. I'm using MO2, but it shouldn't be causing any problems. Edit: Meant "CK" in title, not "CC". Oh well.
×
×
  • Create New...