Jump to content

Changing an NPC's AI "mood" in game


ClayPidgeon162

Recommended Posts

I just wanted to know if there was a script command to change an NPC's AI Mood (as in "cocky", "drugged", "annoyed", etc). Basically, I'm working on a quest where one of your options is to frame someone as a drug runner, part of that option involving injecting them with some concentrated Med-x, and I wanted that NPC's mood to change to "drugged".
Link to comment
Share on other sites

I just wanted to know if there was a script command to change an NPC's AI Mood (as in "cocky", "drugged", "annoyed", etc). Basically, I'm working on a quest where one of your options is to frame someone as a drug runner, part of that option involving injecting them with some concentrated Med-x, and I wanted that NPC's mood to change to "drugged".

 

Thanks for bringing this up. It never occured to me to check it out. It will come in handy fo the companion mod I am working on ;)

 

Mood is an actor value. The numbers aren't documented, but playing around with it:

 

ActorREF.SetAV mood 4    ;drugged
ActorREF.SetAV mood 1    ;Afraid
ActorREF.SetAV mood 5    ;Pleasant

When I set it to 4 her eyelids are a tad lower and lower lip slightly drooped - definitely a drugged look ;)

Link to comment
Share on other sites

I just wanted to know if there was a script command to change an NPC's AI Mood (as in "cocky", "drugged", "annoyed", etc). Basically, I'm working on a quest where one of your options is to frame someone as a drug runner, part of that option involving injecting them with some concentrated Med-x, and I wanted that NPC's mood to change to "drugged".

 

Thanks for bringing this up. It never occured to me to check it out. It will come in handy fo the companion mod I am working on ;)

 

Mood is an actor value. The numbers aren't documented, but playing around with it:

 

ActorREF.SetAV mood 4    ;drugged
ActorREF.SetAV mood 1    ;Afraid
ActorREF.SetAV mood 5    ;Pleasant

When I set it to 4 her eyelids are a tad lower and lower lip slightly drooped - definitely a drugged look ;)

 

Thanks Rickerhk. I appreciate the help.

Link to comment
Share on other sites

You're welcome.

I'd always wondered why certain NPCs had one side of their lips kinda curled up, like Sydney and Karen Schenzy. It's their mood being set to 'Cocky' that does it.

Link to comment
Share on other sites

I'd always wondered why certain NPCs had one side of their lips kinda curled up, like Sydney and Karen Schenzy. It's their mood being set to 'Cocky' that does it.

 

That's really good to know, and sounds like something definitely worth playing with. Thanks very much for following up with that. It's just something I never messed with so had no idea. :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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