Template:HPL2 InstanceVars Enemy

From Frictional Wiki
Revision as of 07:00, 16 November 2024 by BoxFigs (talk | contribs) (Created page with "{|class="wikitable mw-collapsible" |+ style="white-space:nowrap;text-align:-webkit-center"| Instance Vars (All Enemies) ! Name !! Type !! Default !! Description |- | CallbackF...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Instance Vars (All Enemies)
Name Type Default Description
CallbackFunc String A callback function used for a number of events. Syntax: void Func(string &in asEntityName, string &in asType). Type can be OnDeath, OnAutoDisabled
DisableTriggers Bool false If true, the enemy does not react to any trigger such as seeing or hearing the player.
Hallucination Bool false If true, the enemy will disappear when close enough to the player.
HallucinationEndDist Float 3 The distance at which the hallucination disappears