Deleted93355998User Posted October 13, 2020 Share Posted October 13, 2020 Hey, I'm trying to make the end of my NPC dialogue trigger combat But I have no idea how to do this, please explain in a way someone unfamiliar with scripts would understand relatively well. Link to comment Share on other sites More sharing options...
dylbill Posted October 13, 2020 Share Posted October 13, 2020 In the End dialogue fragment, you can put akSpeaker.SendAssaultAlarm() which will make the speaker act as if they were just assaulted by the player. Link to comment Share on other sites More sharing options...
MesaSolar Posted October 14, 2020 Share Posted October 14, 2020 I usually advance the quest stage through the dialogue then set fragments into the quest script fragments from the quest stages tab. If you're trying to get two NPC's to fight you set their factions as enemies then use a script fragment to force them into combat like this: 1stNPCFaction.SetEnemy(2ndNPCFaction)1stNPC.StartCombat(2ndNPC) then if you want one to kill another add this at the bottom, the utility being how many seconds passes before death. Utility.Wait(3.0)2ndNPC.Kill() Link to comment Share on other sites More sharing options...
Recommended Posts