SlashCo Wiki

SlashCo_DoorOpen

  SlashCo_DoorOpen()

Description

Called whenever a prop_door_rotating entity that existed at map load finishes opening.
It's fired through an OnOpen entity output added to every such door during InitPostEntity, which runs hook.Run('SlashCo_DoorOpen') 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.