How do I set a leveled actor invulnerable to all damage?

Post » Thu Jun 21, 2012 9:37 am

Any idea how to make a target temporarily invulnerable to all damage including havoc? Obviously there is the function SetInvulnerable() but it is cast on an actorbase and not an actor. I have used the function GetActorBase and then set the invulnerable flag, it seemingly works fine on named actors however doesn't appear to apply on generic leveled actors.

Any ideas? I am open to any type of hack or workaround, and might even settle for something that eliminated only 90% of damage. Thanks!
User avatar
Mylizards Dot com
 
Posts: 3379
Joined: Fri May 04, 2007 1:59 pm

Post » Thu Jun 21, 2012 2:18 am

I've used http://www.creationkit.com/SetGhost_-_Actor before to make it so the player couldn't harm an actor in any way. Note: At least in Fallout, it would also disable their collisions with weapons. Meaning bullets, rockets, etc (I presume Arrows in Skyrim) go right through them. However, they also can't be harmed, and it's called on a single actor.
User avatar
Paula Rose
 
Posts: 3305
Joined: Fri Feb 16, 2007 8:12 am

Post » Thu Jun 21, 2012 5:03 am

I'll give that a shot, I'm curious if it affects falling damage as well. Thanks!
User avatar
Richus Dude
 
Posts: 3381
Joined: Fri Jun 16, 2006 1:17 am

Post » Thu Jun 21, 2012 3:33 am

There is a perk that uses mod incoming damage or something like that, set it to 0 I think.
User avatar
Elisabete Gaspar
 
Posts: 3558
Joined: Thu Aug 31, 2006 1:15 pm


Return to V - Skyrim