mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-20 20:54:55 +00:00
25 lines
1 KiB
C#
25 lines
1 KiB
C#
$helpTextShown = false;
|
|
|
|
function toggleHelpText()
|
|
{
|
|
// if HUD has been altered, do not show helpTextGui
|
|
if(helpTextGui.visible)
|
|
helpTextGui.setVisible(false);
|
|
else
|
|
{
|
|
if(!$helpTextShown)
|
|
{
|
|
objHudText.setValue("Displays important information about the current mission.");
|
|
chatHudText.setValue("Chat messages from other players are displayed here.");
|
|
energyHudText.setValue("Your armor's available energy. Heat (the red bar) increases as you use jets.");
|
|
compassHudText.setValue("Compass spins as you turn. Clock shows mission time. If the center is flashing red, you've been detected.");
|
|
damageHudText.setValue("You are dead if this reaches zero.");
|
|
reticleHudText.setValue("Your weapon fire hits approximately in the center of this.");
|
|
inventoryHudText.setValue("Shows (left to right) number of grenades, mines, health kits and beacons.");
|
|
weaponsHudText.setValue("Shows your available weapons, plus a targeting laser.");
|
|
$helpTextShown = true;
|
|
}
|
|
helpTextGui.setVisible(true);
|
|
}
|
|
}
|