Revenant0713 Posted January 31, 2022 Posted January 31, 2022 Is it possible to get variables in Topic Info script fragments to point to a property? What I'm trying to do is have a list of dialogue options that correspond to locations around Skyrim. When selecting a location, a fragment runs ``TargetLocation.SetCleared(false)`` causing it to reset. The issue is I don't know how to get the fragment to point towards TargetLocation.
Seijin8 Posted January 31, 2022 Posted January 31, 2022 16 minutes ago, Revenant0713 said: Is it possible to get variables in Topic Info script fragments to point to a property? What I'm trying to do is have a list of dialogue options that correspond to locations around Skyrim. When selecting a location, a fragment runs ``TargetLocation.SetCleared(false)`` causing it to reset. The issue is I don't know how to get the fragment to point towards TargetLocation. Add a property to the script "Location property LocToClear auto" for instance. Then either fill the property directly or set the script to choose one when it is selected (chosing current location maybe?). Unsure how exactly you want to use this. Fragments are just scripts that run as part of a package or topicinfo. They are otherwise perfectly normal scripts.
Revenant0713 Posted January 31, 2022 Author Posted January 31, 2022 6 hours ago, Seijin8 said: Add a property to the script "Location property LocToClear auto" for instance. Then either fill the property directly or set the script to choose one when it is selected (chosing current location maybe?). Unsure how exactly you want to use this. Fragments are just scripts that run as part of a package or topicinfo. They are otherwise perfectly normal scripts. I see... So the fragment will use the value assigned to the property in the script itself. I wasn't aware they functioned like that. It's my first time trying to make dialogue options. I'll try it out.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.