GetDeadCount variable

Post » Tue Mar 15, 2011 3:32 am

I've done a lot of searching on google and also this forum and it seems as if there is no way to modify the deadcount of -for example- the base id of an actor. Is that 100% definite? No way of modifying some sort of crazy variable we don't know about like "baseid".IsDead to -1 or something of the sort?
User avatar
matt
 
Posts: 3267
Joined: Wed May 30, 2007 10:17 am

Post » Mon Mar 14, 2011 8:22 pm

I've done a lot of searching on google and also this forum and it seems as if there is no way to modify the deadcount of -for example- the base id of an actor. Is that 100% definite? No way of modifying some sort of crazy variable we don't know about like "baseid".IsDead to -1 or something of the sort?


Pretty sure it's 100%. You might request a SetDeadCount in the NVSE thread.
User avatar
Tinkerbells
 
Posts: 3432
Joined: Sat Jun 24, 2006 10:22 pm

Post » Mon Mar 14, 2011 7:23 pm

I don't really think there's any reason you would need it, and it'd certainly screw over mod compatibility. Any time you'd need to reset you can just store the value at that point in time, then subtract that from future counts.
User avatar
Angela
 
Posts: 3492
Joined: Mon Mar 05, 2007 8:33 am

Post » Mon Mar 14, 2011 8:45 pm

Thanks guys, I was just curious for my own testing. See, in the vanilla game I killed the great kahn Anders on the cross at the beginning (since I didn't know there would be an option to free him)

You can resurrect him, but the (relatively meaningless anyways) quest to find him won't work. No big deal. So I edited all references in a plugin so that getdeadcount == 1 for Anders instead of 0, but I also had to change a quest variable for something like playerkilledanders = 1 which I just did using the console. Anyways, it didn't wok perfectly and I had to go back into geck a few times to modify another reference (if the dead count was truly 1) but eventually I got my plugin working how I wanted it and it was all a waste of time anyways since it doesn't change anything but I just wanted to try it since I'm still getting my training wheels with scripts thought it was a good little exercise
User avatar
Adrian Morales
 
Posts: 3474
Joined: Fri Aug 10, 2007 3:19 am


Return to Fallout: New Vegas