Ammo / script question

Post » Tue Jan 04, 2011 2:15 am

Does anyone know what (if any) script runs when alternate ammo is loaded? (or even what script is triggered ~if any, when the '2' key is pressed).

Actually I want a way to determine in script what ammo is currently loaded, (Ideally to run script code when a certain ammo is loaded and again when its unloaded).
User avatar
.X chantelle .x Smith
 
Posts: 3399
Joined: Thu Jun 15, 2006 6:25 pm

Post » Mon Jan 03, 2011 3:18 pm

Actually I want a way to determine in script what ammo is currently loaded, (Ideally to run script code when a certain ammo is loaded and again when its unloaded).


Using NVSE, you can use 'GetPlayerCurrentAmmo' to find the currently loaded ammo.
User avatar
D LOpez
 
Posts: 3434
Joined: Sat Aug 25, 2007 12:30 pm

Post » Mon Jan 03, 2011 8:46 pm

Using NVSE, you can use 'GetPlayerCurrentAmmo' to find the currently loaded ammo.

Sounds perfect. I'll look into it soon; If I can get it to work then my mod is almost done. All that's left is to make the sleepers lootable.
User avatar
Peetay
 
Posts: 3303
Joined: Sun Jul 22, 2007 10:33 am


Return to Fallout: New Vegas

cron