Skip to content

Debug & Scripting Utilities

11 pages · all function themes

Debug menus and logging, the versioning overlay, and small general-purpose helpers used across the other systems.

FunctionDescription
VN_fnc_debug_message Show internal debug message and log to rpt file
VN_fnc_getDLC Gets the modDir and mod classname from an item.
VN_fnc_getRevision Set the revision number on screen.
VN_fnc_init Initialize versioning system.
VN_fnc_numberToBase Converts a number from one base to another
VN_fnc_player Uses getVariable to get the current remoted controlled unit, if the player is not remote controlling a unit …
VN_fnc_rgba100toHex Converts an RGBA color to Hex
VN_fnc_versioningHudToggle Toggles the ingame revision overlay.
vn_ms_fnc_debug Enables debug for campaign.
vn_ms_fnc_debug_menu Initialize debug functionalities in pause menu
VN_ms_fnc_isNear Checks if most (> 50%) or any (at least 1) of the units are inside a given radius from a given …