Difference between revisions of "SetRefEssential"

Jump to navigation Jump to search
151 bytes added ,  19:21, 4 December 2006
no edit summary
imported>Scruggs
 
imported>Scruggs
 
Must be called on a reference to an actor. Set to 1 to flag the reference as essential or 0 to clear the flag. Essential actors cannot be killed, only knocked unconscious.
 
Example:
<pre>
if ( myNPCRef.isEssential == 0 )
myNPCRef.setEssential 1 ; make the reference essential
endif</pre>
 
==See Also==
[[IsRefEssential]]
 
[[Category: OBSE Functions]]
Anonymous user

Navigation menu