Difference between revisions of "SetRefEssential"
Jump to navigation
Jump to search
no edit summary
imported>Raziel23x (Update) |
imported>WereWolf |
||
|
'''Syntax:'''
reference.SetRefEssential isEssential:bool
[''Ref.'']setRefEssential ''booleanFlag''
Sets the calling ref to be essential or not.
==Notes==
* Essential actors cannot be killed, only knocked unconscious.
* Must be called on a reference to an actor.
* Set to 1 to flag the reference as essential or 0 to clear the flag.
'''Example:'''
<pre>
if ( myNPCRef.isEssential == 0 )
[[IsRefEssential]]
[[Category:
[[Category: Functions (OBSE
[[Category:
[[Category:
[[Category: Actor Value Functions]]
[[Category: Actor Value Functions (OBSE)]]
| |||