ClayPidgeon162 Posted January 16, 2011 Share Posted January 16, 2011 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 More sharing options...
rickerhk Posted January 16, 2011 Share Posted January 16, 2011 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 More sharing options...
llamaRCA Posted January 16, 2011 Share Posted January 16, 2011 Ooh, this is great to know. That could come in very useful. Thanks, rickerhk. :) llama Link to comment Share on other sites More sharing options...
ClayPidgeon162 Posted January 17, 2011 Author Share Posted January 17, 2011 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 More sharing options...
rickerhk Posted January 17, 2011 Share Posted January 17, 2011 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 More sharing options...
llamaRCA Posted January 17, 2011 Share Posted January 17, 2011 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 More sharing options...
Recommended Posts