Difference between revisions of "Template:HPL2 InstanceVars Prop"
Jump to navigation
Jump to search
(Created page with "{|class="wikitable mw-collapsible mw-collapsed" |+ style="white-space:nowrap;text-align:-webkit-center"| Instance Vars (All Props) ! Name !! Type !! Default !! Description |-...") |
m |
||
Line 13: | Line 13: | ||
| ConnectedProps || String || || Props that are connected to this entity and what will happen will depend upon type of prop and what happens. OnBreak makes the connected props active and gives them an impulse. Enter with space and/or comma between entity names. | | ConnectedProps || String || || Props that are connected to this entity and what will happen will depend upon type of prop and what happens. OnBreak makes the connected props active and gives them an impulse. Enter with space and/or comma between entity names. | ||
|- | |- | ||
− | | ConnectionStateChangeCallback || String || || A callback called when ever the connection state changes (button being switched on). Syntax: <code>void Func(string &in asEntityName, int alState)</code>. alState: -1=off, 0=between 1=on | + | | ConnectionStateChangeCallback || String || || A callback called when ever the connection state changes (button being switched on). Syntax: <code>void Func(string &in asEntityName, int alState)</code>. alState: -1=off, 0=between, 1=on |
|- | |- | ||
| 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. |