GuiGame
Classes:
Similar to GuiShapeNameHud, afxGuiTextHud displays ShapeBase object names but also allows Gui Text effects.
Basic HUD clock. Displays the current simulation time offset from some base.
Basic cross hair hud. Reacts to state of control object. Also displays health bar for named objects under the cross hair.
A base class for cross platform menu controls that are gamepad friendly.
A GuiControlProfile with additional fields specific to GuiGameListMenuCtrl.
A control for showing pages of options that are gamepad friendly.
A GuiControlProfile with additional fields specific to GuiGameListOptionsCtrl.
A basic health bar. Shows the damage value of the current PlayerObjectType control object.
Shows the health or energy value of the current PlayerObjectType control object.
Functions
void
Prevents mouse movement from being processed.
Detailed Description
Functions
snapToggle()
Prevents mouse movement from being processed.
In the source, whenever a mouse move event occurs GameTSCtrl::onMouseMove() is called. Whenever snapToggle() is called, it will flag a variable that can prevent this from happening: gSnapLine. This variable is not exposed to script, so you need to call this function to trigger it.
// Snapping is off by default, so we will toggle // it on first: PlayGui.snapToggle(); // Mouse movement should be disabled // Let's turn it back on PlayGui.snapToggle();