Difference between revisions of "Template:HPL2 InstanceVars Enemy"
Jump to navigation
Jump to search
m |
|||
| Line 4: | Line 4: | ||
|- | |- | ||
{{#ifeq:{{{1|}}}|amfp| | {{#ifeq:{{{1|}}}|amfp| | ||
| − | {{!}} AutoRemoveAtPathEnd {{!}}{{!}} Bool {{!}}{{!}} true {{!}}{{!}} | + | {{!}} AutoRemoveAtPathEnd {{!}}{{!}} Bool {{!}}{{!}} true {{!}}{{!}} If enemy should be removed when it reaches the end of the path.<br>Must not be seen by the player and must be more than 10 meters away from them. |
{{!}}- | {{!}}- | ||
{{!}} AutoReverseAtPathEnd {{!}}{{!}} Bool {{!}}{{!}} false {{!}}{{!}} No effect. Formerly made the enemy return to its first patrol node if it didn't auto-disable on reaching the end of its path. | {{!}} AutoReverseAtPathEnd {{!}}{{!}} Bool {{!}}{{!}} false {{!}}{{!}} No effect. Formerly made the enemy return to its first patrol node if it didn't auto-disable on reaching the end of its path. | ||
Revision as of 03:47, 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 |