Difference between revisions of "GetIgnoreFriendlyHits"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Nik-Lz
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
If this function is run on an actor and that actor has been set to [[IgnoreFriendlyHits - ObjectReference|ignore friendly fire]], then this function returns 1. Otherwise, it returns 0.


[[Category:Condition Functions]]
[[Category:Condition Functions]]
Usage:
actorRefIf.GetIgnoreFriendlyHits()
Description:
Returns 1 if the specified actor (actorRefId) ignores friendly hits.

Latest revision as of 12:22, 1 August 2024

If this function is run on an actor and that actor has been set to ignore friendly fire, then this function returns 1. Otherwise, it returns 0.