How to initiate actorcollideactor topic dialogue?

Post » Mon Nov 19, 2012 4:03 am

I'm making a simple no combat weapon that needs to initiate the actor collision dialogue (normally triggered when you bump into someone). I found the dialogue I want in the Dialog window under the Misc tab for the actorcollidewithactor topic, but can't find a 'collide' event to trigger, a spell effect to assign or any other way to initiate this dialog.

Is it possbile? Thanks.

ck
User avatar
louise tagg
 
Posts: 3394
Joined: Sun Aug 06, 2006 8:32 am

Post » Sun Nov 18, 2012 2:26 pm

I think it should just fire when you bump into someone. depending on the conditions and assuming that the priority is high enough of course
User avatar
Kaley X
 
Posts: 3372
Joined: Wed Jul 05, 2006 5:46 pm

Post » Mon Nov 19, 2012 12:57 am

Thanks for the response. I want it to fire (assuming it is an event) when someone is hit by the weapon I'm making.

Guard: "What, you fetch their sweet rolls?"
<* THWACK *> with the slap stick
Guard: "Hey, watch it!"

You get the idea.

It would be nice if I could limit the response to a subset of what is already there for actorcollidewithactor, but I'm guessing I'd have to change a property of an existing dialog and I'd rather avoid opening up potential issues with other mods.

ck
User avatar
~Sylvia~
 
Posts: 3474
Joined: Thu Dec 28, 2006 5:19 am

Post » Sun Nov 18, 2012 6:32 pm

so an OnHit event and a say() call for the actor hit, perhaps
User avatar
Laura Wilson
 
Posts: 3445
Joined: Thu Oct 05, 2006 3:57 pm

Post » Sun Nov 18, 2012 9:06 pm

That might work if I can extend the base Actor class' OnHit event handler, otherwise I think I would have to add a script to every NPC. Unfortunately, I don't see a template that most Actors are inheriting from - any ideas? Thanks for your help.

ck
User avatar
David Chambers
 
Posts: 3333
Joined: Fri May 18, 2007 4:30 am

Post » Mon Nov 19, 2012 12:22 am

This should help:

http://www.creationkit.com/Dynamically_Attaching_Scripts
User avatar
Nathan Hunter
 
Posts: 3464
Joined: Sun Apr 29, 2007 9:58 am

Post » Sun Nov 18, 2012 9:05 pm

Hey, good find! Thanks.
User avatar
steve brewin
 
Posts: 3411
Joined: Thu Jun 21, 2007 7:17 am


Return to V - Skyrim