Engine:CVAR GameDll

From AddOn Studio
Revision as of 04:20, 17 October 2023 by Bear (talk | contribs) (Created page with "{{dev/uicvar}} Sets an explicit path and file for loadable world library. <kua>set GameDll 'd:\install\lib\gamex86.dll'</kua> == Arguments == * name - 'GameDll' * value - relative or full path, and fully qualified file name for the module file to load. Default is unset. == Associations == * Is by default placed in the 'global' context. == Details == Realtive or full path and full name of the world native library to load. If this variable is not set, and CVAR lib_pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Console commands

Sets an explicit path and file for loadable world library.

set GameDll 'd:\install\lib\gamex86.dll'

Arguments

  • name - 'GameDll'
  • value - relative or full path, and fully qualified file name for the module file to load. Default is unset.

Associations

  • Is by default placed in the 'global' context.

Details

Realtive or full path and full name of the world native library to load.

If this variable is not set, and CVAR lib_path and CVAR module are set, then 'module' and 'lib_path' will be used together to locate and load the library. If this CVAR GameDll is set, then its path will be used.

After load this variable will be automatically set the final value of CVAR lib_path and CVAR module.

See CVAR module for a description and purpose of the library. See CVAR lib_path for an explanation of the library path.

Examples

Default values

For the path executable path 'd:\install\engine.exe', and a 'lib_path' of './lib/' on windows running the 64-bit engine:

set GameDll './lib/gamex64.dll'
with install in: d:\install\engine
effective OS load: d:\install\engine\lib\gamex86.dll

Notes

See also