F4llfield Posted July 10, 2024 Share Posted July 10, 2024 (edited) Hi all, I'm using Nora Companion mod and I would like to add a comment she would make when entering the player's house in Sanctuary Hills. The comment would be something like "It's strange being back here." One thing is, I don't think I want to use a marker since it could conflict with other mods I have. Is there a way do do this without a marker ? In other words, how can I detect when the player enters is house in Sanctuary Hills by script without a marker? Edited July 11, 2024 by F4llfield Link to comment Share on other sites More sharing options...
SKKmods Posted July 10, 2024 Share Posted July 10, 2024 You could try OnDistance Less/Greater than script events from an existing persistent object, triangulating that distance event with known distancees from TWO other existing persistent objects to ensure its the correct quadrant. It would be a total faff compared to simply placing (or spawning) a trigger volume in the doorway or room. Link to comment Share on other sites More sharing options...
F4llfield Posted July 10, 2024 Author Share Posted July 10, 2024 Thanks SKK! Do I need to create a quest to only trigger by script a companion comment ? Link to comment Share on other sites More sharing options...
SKKmods Posted July 10, 2024 Share Posted July 10, 2024 If you dont simply attach a script to a placed trigger box object then yes you will need a quest form to attach a script to. Link to comment Share on other sites More sharing options...
F4llfield Posted July 10, 2024 Author Share Posted July 10, 2024 So, if I do attach a script to a trigger box, what script function should I use to trigger a comment ? Do I need to creat a scene ? Link to comment Share on other sites More sharing options...
SKKmods Posted July 10, 2024 Share Posted July 10, 2024 Best to take a look at how the base game manages and triggers companion comments. Link to comment Share on other sites More sharing options...
F4llfield Posted July 10, 2024 Author Share Posted July 10, 2024 Thanks for your reply. If you think of an easy example to look at, I'd appreciate. I look at CAT_Event but I don't really understand how they work. Link to comment Share on other sites More sharing options...
SKKmods Posted July 11, 2024 Share Posted July 11, 2024 Sorry cant help, never used those systems. Only noticed them in passing. Link to comment Share on other sites More sharing options...
F4llfield Posted July 11, 2024 Author Share Posted July 11, 2024 Thanks, like you said I looked at the slog companion comment, the way it was done and replicated it in Sanctuary player house. It works now. Link to comment Share on other sites More sharing options...
Recommended Posts