Getting NPCs to stop what theyre doing and aim at the player

Post » Sat Dec 03, 2011 5:48 pm

I basically want to make having your gun out mean something. If you approach a patrol of Outcasts with your gun un-holstered I want to have them all stop and point their guns at you as a precaution, so that if you do shoot one of them they're all ready to take you out. Ideally they'd tell you something like "stop, holster your weapon and step away or we'll be forced to shoot you" and eventually shoot you if you don't comply, but that's a little beyond the scope of my mod a the moment. Anyways, question's in the title, all help is appreciated! :)
User avatar
~Sylvia~
 
Posts: 3474
Joined: Thu Dec 28, 2006 5:19 am

Post » Sat Dec 03, 2011 6:06 am

I basically want to make having your gun out mean something. If you approach a patrol of Outcasts with your gun un-holstered I want to have them all stop and point their guns at you as a precaution, so that if you do shoot one of them they're all ready to take you out. Ideally they'd tell you something like "stop, holster your weapon and step away or we'll be forced to shoot you" and eventually shoot you if you don't comply, but that's a little beyond the scope of my mod a the moment. Anyways, question's in the title, all help is appreciated! :)


Getting them to face the player and stay faced is a bit of a pain.

Getting them to equip their weapons - - - if you are in real control of the NPC (not like you're trying to affect the whole world in one swipe), you can switch it onto a package which has the Weapons Equipped flag if the player has his weapon out (http://geck.gamesas.com/index.php/IsWeaponOut ). To make it a timely affair you might want to run a quest script which takes note of the player's distance from your Outcast crew every 5 secs or so and adjusts variables / issues EVPs as necessary.
User avatar
Hannah Whitlock
 
Posts: 3485
Joined: Sat Oct 07, 2006 12:21 am

Post » Sat Dec 03, 2011 1:47 pm

Hmmm, was hoping to be able to apply it to anyone, partly for compatibility, partly for tediousness evasion, which tends to come with adding a package to every NPC in the game.
User avatar
Spencey!
 
Posts: 3221
Joined: Thu Aug 17, 2006 12:18 am


Return to Fallout 3