SlashCo Wiki

SlashCo_DoorClose

  SlashCo_DoorClose()

Description

Called whenever a prop_door_rotating entity that existed at map load finishes closing.
It's fired through an OnClose entity output added to every such door during InitPostEntity, which runs hook.Run('SlashCo_DoorClose') via a lua_run entity.
No arguments are passed, but the door that triggered the output can be accessed through the global CALLER inside the hook.