Difference between revisions of "SetEssential"

Jump to navigation Jump to search
88 bytes added ,  08:49, 15 August 2006
m
no edit summary
imported>JOG
imported>Tibixe
m
Line 6: Line 6:


Sets the "essential" flag on an actor (1 or 0). When this flag is set to 1, the NPC/creature will not be killable -- when his health drops to 0 or below, an essential actor will be made temporary "unconscious". This is normally used to prevent the player from accidentally killing an NPC who is required to complete a quest.
Sets the "essential" flag on an actor (1 or 0). When this flag is set to 1, the NPC/creature will not be killable -- when his health drops to 0 or below, an essential actor will be made temporary "unconscious". This is normally used to prevent the player from accidentally killing an NPC who is required to complete a quest.
Note that it will act as a ''return'' statement if ActorBase is a reference variable.


==See Also==
==See Also==
Anonymous user

Navigation menu