Template:O Door: Difference between revisions
Jump to navigation
Jump to search
Note:OnOpen/OnClose outputs fire twice if initiated by input. First time !activator is the activator of the input second time !activator is equal to !self.
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{O|OnFullyClosed| activator = player that closed the door | {{O|OnFullyClosed| activator = player that closed the door | ||
|Fired when the door finishes closing. Reversed if ''Start Open'' flag is set.}} | |Fired when the door finishes closing. Reversed if ''Start Open'' flag is set.}} | ||
{{O|OnFullyOpen| activator = | {{O|OnFullyOpen| activator = !caller = !self|caller=hide | ||
|Fired when the door finishes opening. Reversed if ''Start Open'' flag is set.}} | |Fired when the door finishes opening. Reversed if ''Start Open'' flag is set.}} | ||
{{O|OnBlockedClosing| activator = entity that blocks the door | {{O|OnBlockedClosing| activator = entity that blocks the door | ||
Line 13: | Line 13: | ||
{{O|OnBlockedOpening| activator = entity that blocks the door | {{O|OnBlockedOpening| activator = entity that blocks the door | ||
|Fired when the door has been blocked from opening.}} | |Fired when the door has been blocked from opening.}} | ||
{{O|OnUnblockedClosing| activator = | {{O|OnUnblockedClosing| activator = !caller = !self|caller=hide | ||
|Fired when the door is no longer blocked from closing.}} | |Fired when the door is no longer blocked from closing.}} | ||
{{O|OnUnblockedOpening| activator = | {{O|OnUnblockedOpening| activator = !caller = !self|caller=hide | ||
|Fired when the door is no longer blocked from opening.}} | |Fired when the door is no longer blocked from opening.}} | ||
{{O|OnLockedUse| activator = the player pressing use | {{O|OnLockedUse| activator = the player pressing use |
Revision as of 00:31, 22 April 2025
BaseDoor:
- OnClose
- !activator = same as !self if closed by player, if closed by Close input the activator of the input is used
!caller = this entity
Fired when the door starts to close.
- OnOpen
- !activator = same as !self if opened by player, if opened by Open or OpenAwayFrom input the activator of the input is used
!caller = this entity
Fired when the door starts to open.

- OnFullyClosed
- !activator = player that closed the door
!caller = this entity
Fired when the door finishes closing. Reversed if Start Open flag is set.
- OnFullyOpen
- !activator = !caller = !self
Fired when the door finishes opening. Reversed if Start Open flag is set.
- OnBlockedClosing
- !activator = entity that blocks the door
!caller = this entity
Fired when the door has been blocked from closing.
- OnBlockedOpening
- !activator = entity that blocks the door
!caller = this entity
Fired when the door has been blocked from opening.
- OnUnblockedClosing
- !activator = !caller = !self
Fired when the door is no longer blocked from closing.
- OnUnblockedOpening
- !activator = !caller = !self
Fired when the door is no longer blocked from opening.
- OnLockedUse
- !activator = the player pressing use
!caller = the player pressing use
Fired when the player tries to open the door but fails because it is locked.