Difference between revisions of "Template:HPL2 InstanceVars Enemy"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
| DisableTriggers || Bool || false || If true, the enemy does not react to any trigger such as seeing or hearing the player. | | 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. | + | | Hallucination || Bool || false || If true, the enemy will disappear when close enough to the player.{{#ifeq:{{{1|}}}|amfp|<br>Uses enemy_hallucination_disappear.snt, which isn't in the game files but can be added. The hallucination effect now consists of some organic particles instead of the TDD dust particles.}} |
|- | |- | ||
| HallucinationEndDist || Float || 3 || The distance at which the hallucination disappears | | HallucinationEndDist || Float || 3 || The distance at which the hallucination disappears |
Revision as of 02:41, 13 January 2025
Name | Type | Default | Description |
---|---|---|---|
CallbackFunc | String | A callback function used for a number of events. Syntax: void Func(string &in asEntityName, string &in asType) . asType can be OnDeath or 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 |