/** * ExileClient_gui_constructionMode_update * * Exile Mod * www.exilemod.com * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_display","_title","_titleControl","_description","_descriptionBackground"]; disableSerialization; _display = uiNamespace getVariable "RscExileConstructionMode"; if (!isNull _display) then { _title = ""; switch (ExileClientConstructionMode) do { case 1: { _title = "FREE VECTOR MODE"; }; case 2: { _title = "GRID MODE"; }; case 3: { _title = "SNAP MODE"; }; case 4: { _title = "OBJECT SNAP MODE"; }; }; if (ExileClientConstructionModePhysx) then { _title = _title + " + PHYSICS"; }; _titleControl = _display displayCtrl 1000; _titleControl ctrlSetText _title; _description = _display displayCtrl 1001; _description ctrlShow ExileClientConstructionShowHint; _descriptionBackground = _display displayCtrl 1002; _descriptionBackground ctrlShow ExileClientConstructionShowHint; _pos = ctrlPosition _descriptionBackground; _descriptionBackground ctrlSetPosition [_pos select 0,_pos select 1,_pos select 2,450 * pixelH]; _descriptionBackground ctrlCommit 0; _description ctrlSetStructuredText parseText Format["Free Vector Mode1
Grid Mode2
Snap Mode3
Toggle Physics4
ORIGINAL
RotationQ/E
ElevationPAGE UP/DOWN
DistanceHOME/END
DP CUSTOM
Tilt and PitchArrow Keys
Rotate/YawNUM7/NUM9
Move Away/BackNUM8/NUM2
Move Left/RightNUM4/NUM6
Reset ObjectNUM5
Object SnappingNUM0
CUSTOM STEPPING
LargerSHIFT
SmallerCONTROL
PrecisionALT
FINISH UP
PlaceSPACE
AbortESCAPE"]; }; true