First - this is my first Mod, this is my first Scripting, this is my first post asking for help here. Please go easy on me.
Ok, I have a Furniture Object that is invisible.
I am only using it for the animation attached to it.
It is also placed in a pathway so there is no collision.
I made a Trigger box that is out of the pathway.
Now here is how I want it to work ...
I want to have the actor walk up to the Trigger box and activate.
The Trigger would make the Actor use / activate the Furniture.
The Actor would go through the animation.
So, I have the Furniture placed and I have the Trigger box positioned next to it. I have them Linked Ref together. I have a Script on both, one for trigger and one for furniture. But, honestly I'm not even sure I need scripts. Can I just use the Activate Parent feature? On furniture I would set Activate Parent as the Trigger box? But, the Furniture would see the Trigger box as activator not the Actor right?
If I do use scripts - I'm not sure how to pass the actor from the trigger script to the furniture script. Also, would I use furniture.Activate(actor) or is there another command for using furniture?
There is another factor that is more advanced - The animation on the furniture moves the actor a short distance. It's intended, that's why I'm using it. Would I have to use moveto function or Package to be sure actor is in correct place after running animation?? ..... This is kind of something for later as right now I'm still trying to get the activation working. After that, then I can see about positioning the actor just right after the animation runs.
I know, kind of ambitious for first mod but I'm ready!
Thank you
-Jebbalon