Function to force actor to use cooking spit?

Post » Wed Jun 20, 2012 6:46 pm

Hi.

Is there a function that forces an actor to walk over to and start using a cooking spit?
I have already defined the cooking spit as a property, so now I only need the function.

Thanks.
User avatar
lauraa
 
Posts: 3362
Joined: Tue Aug 22, 2006 2:20 pm

Post » Wed Jun 20, 2012 8:37 am

I think there's an idle marker for that. You could assign that to a quest alias, then make a scene that uses your NPC as it's only actor, and tells him to use that idle marker.


Your function would just call the scene start function.
User avatar
Matt Bee
 
Posts: 3441
Joined: Tue Jul 10, 2007 5:32 am

Post » Wed Jun 20, 2012 6:01 pm

I created a new scene in my quest, and added the actor.
I can't find any way to tell the actor to use the cooking spit, though. I figured there would be some AI package thingie that I could force upon the actor, to make him use the spit. But I can't find anything like it.
Help please.
User avatar
Beast Attire
 
Posts: 3456
Joined: Tue Oct 09, 2007 5:33 am

Post » Wed Jun 20, 2012 4:31 pm

I created a new scene in my quest, and added the actor.
I can't find any way to tell the actor to use the cooking spit, though. I figured there would be some AI package thingie that I could force upon the actor, to make him use the spit. But I can't find anything like it.
Help please.

Since it's furniture I'd look for a package that will let you tell him to use furniture. I haven't worked with any of them yet to do that, but that's where I'd start.
User avatar
Lillian Cawfield
 
Posts: 3387
Joined: Thu Nov 30, 2006 6:22 pm

Post » Wed Jun 20, 2012 2:40 pm

Since it's furniture I'd look for a package that will let you tell him to use furniture. I haven't worked with any of them yet to do that, but that's where I'd start.

Yea, but I can't find any way to add the AI package thingie to the actor.
User avatar
Hearts
 
Posts: 3306
Joined: Sat Oct 20, 2007 1:26 am

Post » Wed Jun 20, 2012 6:37 pm

Yea, but I can't find any way to add the AI package thingie to the actor.

You've set up the scene, correct? It goes into the scene phase with the actor (you add it onto the actor with a right click and add on the scene view itself).
User avatar
Rhi Edwards
 
Posts: 3453
Joined: Fri Jul 28, 2006 1:42 am

Post » Wed Jun 20, 2012 8:39 am

I found it after a lot of right-clicking. -It is very confusing the first time you try it.

Thanks for the help. =)
Let's hope this works now.
User avatar
His Bella
 
Posts: 3428
Joined: Wed Apr 25, 2007 5:57 am

Post » Wed Jun 20, 2012 6:33 pm

Add an action package...the package template is 'UseIdlemarker: - select your cooking spit in the package...that should probably work.
User avatar
Amysaurusrex
 
Posts: 3432
Joined: Wed Aug 09, 2006 2:45 pm

Post » Wed Jun 20, 2012 4:55 pm

Yea, but I can't find any way to add the AI package thingie to the actor.

you create an empty alias and mark it optional. put the ai package for the spit in the alias

then in your script call the function forcerefto()


a good example of how this is done is the marriage quest (spouses are optinally filled into a new alias and a new ai package is added to them).
User avatar
Laurenn Doylee
 
Posts: 3427
Joined: Sun Dec 03, 2006 11:48 am


Return to V - Skyrim