getarmorrating equivalent for DT?

Post » Sun Jul 25, 2010 9:45 am

Does the GetArmorRating function in NV return a target's DT, or does it return the DR? If not DT, what is the function that does (if there is one)?
User avatar
Jonathan Montero
 
Posts: 3487
Joined: Tue Aug 14, 2007 3:22 am

Post » Sun Jul 25, 2010 3:42 pm

Does the GetArmorRating function in NV return a target's DT, or does it return the DR? If not DT, what is the function that does (if there is one)?


 getAV DamageThreshold 
worked for me when i ran it at the console
User avatar
Ross
 
Posts: 3384
Joined: Thu Aug 10, 2006 7:22 pm

Post » Sun Jul 25, 2010 10:04 am

Why not look/ask in the NVSE thread, given there's no actual documentation for NVSE yet?
User avatar
vicki kitterman
 
Posts: 3494
Joined: Mon Aug 07, 2006 11:58 am

Post » Sun Jul 25, 2010 3:12 pm

 getAV DamageThreshold 
worked for me when i ran it at the console



will that work when the DT is added through a script however? like DeathclawDTModifier?
User avatar
Tessa Mullins
 
Posts: 3354
Joined: Mon Oct 22, 2007 5:17 am

Post » Sun Jul 25, 2010 11:51 am

Why not look/ask in the NVSE thread, given there's no actual documentation for NVSE yet?


I looked it up on the geck wiki, and it looks like a vanilla function that's been in since Oblivion. There was no mention of OBSE, FOSE, or NVSE.

getAV DamageThreshhold is exactly what I was looking for.



Now, what I'm looking for is, if you shoot someone with AP ammo, which DT will be returned with that function when the function is run on hitting the enemy? Will ammo modifiers be counted first? If so, will it go negative if the DT modifier is greater than the enemy's DT, or will it bottom out at 0?
User avatar
Nitol Ahmed
 
Posts: 3321
Joined: Thu May 03, 2007 7:35 am


Return to Fallout: New Vegas