CFrobButton

From The DarkMod Wiki
Revision as of 14:32, 22 June 2008 by Greebo (talk | contribs) (New page: == CFrobButton == The corresponding entityDef is '''atdm:mover_button'''. A button is a simple two-state button to trigger things like lights or other movers. A button specialises the fr...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CFrobButton

The corresponding entityDef is atdm:mover_button.

A button is a simple two-state button to trigger things like lights or other movers.

A button specialises the frobmover so that it only fires when it’s fully “pressed”. The default button snaps back to its original position after being pressed, but this behaviour can be overriden by the mapper, of course.

Buttons can also be activated by impulses, e.g. by shooting arrows at them.

Spawnargs

  • <no special spawnargs>

Script Events

scriptEvent void Operate();
Call this to "press" the button.

C++ Methods and Events

  • <no special events>