Difference between revisions of "Template:HPL2 InstanceVars Prop"
Jump to navigation
Jump to search
m |
m |
||
Line 17: | Line 17: | ||
| FullGameSave || Bool || false || If the all things in the entity should be saved when exiting the level. Only use on few entities!<br>If enabled, additional entity properties are saved, such as the open amount of SwingDoors. | | FullGameSave || Bool || false || If the all things in the entity should be saved when exiting the level. Only use on few entities!<br>If enabled, additional entity properties are saved, such as the open amount of SwingDoors. | ||
|- | |- | ||
− | | PlayerLookAtCallback || String || || Callback called when player looks at entity. Syntax: <code>void Func(string &in asEntity, int alState)</code> | + | | PlayerLookAtCallback || String || || Callback called when player looks at entity. Syntax: <code>void Func(string &in asEntity, int alState)</code> alState: 1=looking, -1=stopped looking |
|- | |- | ||
| PlayerLookAtCallbackAutoRemove || Bool || false || Should look at callback be removed when entity is looked at and callback called. | | PlayerLookAtCallbackAutoRemove || Bool || false || Should look at callback be removed when entity is looked at and callback called. |