syfjhz22 Posted June 16, 2020 Author Share Posted June 16, 2020 After checking properties "pick object", I think I now understand. It must be a specific topic object, not a general "hello". I will test further... Link to comment Share on other sites More sharing options...
SKKmods Posted June 16, 2020 Share Posted June 16, 2020 You need to assign a unique name to your topic so the property can find it to be associated: Topic Property pSKK_CSETSay Auto Const mandatory ;apply a unique name to your dialog topic pHello is meaningless to the system. It does not need to be the default Hello topic as you are forcing it. In the Quest MISC tab middle TOPICS column I typically add the default idle topic and rename it to something unique and exclusive to that mod. Link to comment Share on other sites More sharing options...
syfjhz22 Posted June 16, 2020 Author Share Posted June 16, 2020 (edited) You need to assign a unique name to your topic so the property can find it to be associated: Topic Property pSKK_CSETSay Auto Const mandatory ;apply a unique name to your dialog topic pHello is meaningless to the system. It does not need to be the default Hello topic as you are forcing it. In the Quest MISC tab middle TOPICS column I typically add the default idle topic and rename it to something unique and exclusive to that mod. I really thought with your generous help it was about work, but still not working after many attempts... : ( Scriptname BleedoutDialogue extends Actor Topic Property pCVDHello Auto Const mandatory GlobalVariable Property pCVDHelloValue Auto Const Mandatory Event OnEnterBleedout() Actor Player = Game.GetPlayer() If Player.GetDistance(Self) < 512 pCVDHelloValue.SetValue(1) (Self as Actor).Say(pCVDHello, akActorToSpeakAs = None, abSpeakInPlayersHead = false, akTarget = Player) ;should this be "sefl as actor" or "self"? Utility.WaitMenuMode(5.0) pCVDHelloValue.SetValue(0) EndIf EndEvent I also tried to simplify it a little bit Scriptname BleedoutDialogue extends Actor Topic Property pCVDHello Auto Const mandatory GlobalVariable Property pCVDHelloValue Auto Const Mandatory Event OnEnterBleedout() pCVDHelloValue.SetValue(1) (Self as Actor).Say(pCVDHello) Utility.WaitMenuMode(5.0) pCVDHelloValue.SetValue(0) EndEvent The actor still says nothing after enter bleedout state. Edited June 16, 2020 by syfjhz22 Link to comment Share on other sites More sharing options...
SKKmods Posted June 16, 2020 Share Posted June 16, 2020 Enable Papyrus debug logging and add a bunch of Debug.Trace("your message here") lines to see where it is falling down. Event OnEnterBleedout() Debug.Trace("syfjhz22 OnEnterBleedout") pCVDHelloValue.SetValue(1) (Self as Actor).Say(pCVDHello) Debug.Trace("syfjhz22 say topic " + pCVDHello + " value " + pCVDHelloValue.getValue()) Utility.WaitMenuMode(5.0) pCVDHelloValue.SetValue(0) EndEvent Link to comment Share on other sites More sharing options...
syfjhz22 Posted June 17, 2020 Author Share Posted June 17, 2020 (edited) Enable Papyrus debug logging and add a bunch of Debug.Trace("your message here") lines to see where it is falling down. Event OnEnterBleedout() Debug.Trace("syfjhz22 OnEnterBleedout") pCVDHelloValue.SetValue(1) (Self as Actor).Say(pCVDHello) Debug.Trace("syfjhz22 say topic " + pCVDHello + " value " + pCVDHelloValue.getValue()) Utility.WaitMenuMode(5.0) pCVDHelloValue.SetValue(0) EndEvent [06/17/2020 - 08:14:17PM] syfjhz22 OnEnterBleedout[06/17/2020 - 08:14:17PM] syfjhz22 say topic value 1.000000[06/17/2020 - 08:14:33PM] syfjhz22 OnEnterBleedout[06/17/2020 - 08:14:33PM] syfjhz22 say topic value 1.000000 I tried two times, both have a value of 1, though I have no idea what this means... I also tried to remove topic conditons, tried to use another topic, tried to ungroup the topic. Um... Edited June 17, 2020 by syfjhz22 Link to comment Share on other sites More sharing options...
Recommended Posts