Difference between revisions of "SetRefEssential"
Jump to navigation
Jump to search
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]]
| |||