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.
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 |  (this is just ridiculous) | ||
| Line 1: | Line 1: | ||
| {{minititle|BaseDoor}} | {{minititle|BaseDoor}} | ||
| {{O|OnClose|Fired when the door starts to close.}} | {{O|OnClose| activator = same as !self if closed by player, if closed by Close input the activator of the input is used | ||
| {{O|OnOpen|Fired when the door starts to open.}} | |Fired when the door starts to close.}} | ||
| {{O|OnOpen| activator = same as self! if opened by player, if opened by Open or OpenAwayFrom input the activator of the input is used | |||
| |Fired when the door starts to open. | |||
| {{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.}}}} | |||
| {{O|OnFullyClosed|Fired when the door finishes closing. Reversed if ''Start Open'' flag is set.}} | {{O|OnFullyClosed|Fired when the door finishes closing. Reversed if ''Start Open'' flag is set.}} | ||
| {{O|OnFullyOpen|Fired when the door finishes opening. Reversed if ''Start Open'' flag is set.}} | {{O|OnFullyOpen|Fired when the door finishes opening. Reversed if ''Start Open'' flag is set.}} | ||
| Line 10: | Line 13: | ||
| {{O|OnUnblockedClosing|Fired when the door is no longer blocked from closing.}} | {{O|OnUnblockedClosing|Fired when the door is no longer blocked from closing.}} | ||
| {{O|OnUnblockedOpening|Fired when the door is no longer blocked from opening.}} | {{O|OnUnblockedOpening|Fired when the door is no longer blocked from opening.}} | ||
| {{O|OnLockedUse|Fired when the player tries to open the door but fails because it is locked.}}<noinclude> | {{O|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.}}<noinclude> | |||
| [[Category:Output Templates|Door]] | [[Category:Output Templates|Door]] | ||
| </noinclude> | </noinclude> | ||
Revision as of 00:15, 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.
 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.
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.- OnFullyClosed
- Fired when the door finishes closing. Reversed if Start Open flag is set.
- OnFullyOpen
- 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
- Fired when the door is no longer blocked from closing.
- OnUnblockedOpening
- 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.