One object Activate another?

Post » Mon Sep 23, 2013 11:32 am

I'm very very new to making mods, and am just designing my first custom home.
I have a [censored]in' stone dragon skull forge going (null is my new favorite texture :D), but space is limited to add all the misc blacksmithing things, and I want to do this for a custom workbench to save space:

I have the workbench invisible right at the anvil so when I use the workbench, I'm hammering the armor on the anvil. The activators are cluttered though and it's hard to select the right one.
I want to shrink the workbench down to 1% (making me work at the same exact spot) and have a trigger set up off to the side so the " [E] Use Workbench " appears when I mouse over a specific object, such as a static workbench or static hammer off to the side. I tried setting the workbench as the link ref from a trigger primative but it game nothing happens. Do I need a custom script? No drive (or experience) to figure scripts out... Is there an easy solution?

TLDNR I want to trigger objects (such as a blacksmith's workbench) by looking at a different object entirely.

User avatar
Albert Wesker
 
Posts: 3499
Joined: Fri May 11, 2007 11:17 pm

Post » Mon Sep 23, 2013 7:55 pm

You can look at the papyrus function Activate(), or look at making a trigger and set the activate parent of the workbench to it to.

Or you could simply use the model for an anvil as a workbench. Go to my site (link in sig), see my Tutorial for a custom chair. Use the same method of using the model of an object, duplicate the blacksmith workbench, and change the model to the anvil. Dead easy :)
User avatar
Vickytoria Vasquez
 
Posts: 3456
Joined: Thu Aug 31, 2006 7:06 pm

Post » Mon Sep 23, 2013 3:58 pm

I used the exact script from your chair vid, worked like a dream: one anvil, two separate and distinct activator areas, two functions.
THANK YOU!

User avatar
chinadoll
 
Posts: 3401
Joined: Tue Aug 22, 2006 5:09 am

Post » Mon Sep 23, 2013 11:27 pm

Glad i could help :)

If you want it to work with other actors, swap PlayerREF in the function to akActionRef. For followers or sandboxing NPC's.
User avatar
Anna S
 
Posts: 3408
Joined: Thu Apr 19, 2007 2:13 am

Post » Tue Sep 24, 2013 12:26 am

If I change that can I still use it too?

On that note, can I make my followers do their own thing in my house? Like when I'm in my custom house they still obey me (same interaction menu) but wander about pretending to eat or lean or sit or cook.

User avatar
Jesus Duran
 
Posts: 3444
Joined: Wed Aug 15, 2007 12:16 am

Post » Mon Sep 23, 2013 11:27 am

Yep you can still use it :)

They will "sandbox" if they have packages that allow it, and dialogue options that allow it to.
User avatar
Scarlet Devil
 
Posts: 3410
Joined: Wed Aug 16, 2006 6:31 pm


Return to V - Skyrim