CFrobDoorHandle

From The DarkMod Wiki
Revision as of 14:32, 22 June 2008 by Greebo (talk | contribs) (New page: == CFrobDoorHandle == The corresponding entityDef is '''atdm:mover_door_handle'''. Door handles can be attached to doors via '''bind''' and are responsible of triggering the doors in the ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CFrobDoorHandle

The corresponding entityDef is atdm:mover_door_handle.

Door handles can be attached to doors via bind and are responsible of triggering the doors in the correct moment. Whenever a door with an attached handle is frobbed, it's the handle that receives the command and starts moving. When the handle reaches its "open" position, the open command is routed back to the door. There is no restriction concerning the movement type of door handles, they can both rotate or translate.

Spawnargs

  • snd_tap_locked (sound shader) Called when the handle starts to move and its door is locked.
  • snd_tap_default (sound shader) Called when the handle starts to move and its door is unlocked.

Script Events

scriptEvent void Tap();
Call this to make the handle move and subsequently trigger the door.

C++ Methods and Events

  • <no special methods>