Jump to content

Dynamic Script Attachment Question?


landongn

Recommended Posts

Hey all,

 

I'm poking around at a mod that would let me:

 

- give the player an ability that applies a spell effect to any nearby actor

- the spell effect applies a further ability that adds a script to the actor

 

 

Essentially, I'm following this guide: https://www.creationkit.com/index.php?title=Dynamically_Attaching_Scripts

 

I'm running into two specific problems:

 

Problem 1: When the game boots up with the mod loaded, I get two kinds of errors; Unable to find the scripts that i've compiled associated with the mod (the .pex files are in the proper place)

Problem 2: Type mismatches against the scripts when they attempt to apply themselves to the actors in the cell.

 

Has anyone else done something like this before? The key thing is being able to run a script on any actor that just logs some data to the script log when certain events fire.

 

Thanks for any guidance this community could provide!

Link to comment
Share on other sites

Probably, It would be easier if you copypasted the errors from the log. The CK usually does not let you compile the script with type mismatches.

 

It`s surely possible to attach an effect to all nearby actors. But i think that the way depends on the final goal.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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