Jump to content

Referencing Trigger activation in a script


ClayPidgeon162

Recommended Posts

I was wondering if there was a way to make reference to the activation of a Trigger in a script outside of the script used for that specific trigger.

 

I'm working on a companion mod and wanted the frisking triggers to work on them. While I initially just changed the scripts for those triggers to include my new character, it seems like it would be a better idea to change as little as possible to the vanilla content so the mod won't conflict with any future patches, DLC, etc.

 

While I could just make a new trigger, it seems like it would be easier if there was a way I could specifically make reference to when the trigger is activated, something along the lines of "Begin TriggerREF.onActivate" or "if (TriggerREF.Activate)". I tried making references to variables associated with the specific Trigger, but it only worked sometimes and was overall unreliable.

 

Or, alternatively, if I could make reference to when a specific script is being run.

Edited by ClayPidgeon162
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...