Home › Engine Lua tables › UnitSystem

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

UnitSystem

Static table with 15 methods. exe interface GameCore::App::UI::Lua::IUnitSystem; no call sites found in the game scripts. Registering function 0x4dcb20.

Methods are called with a dot (UnitSystem.Method(...)).

Method Returns In game scripts Example Status
UnitSystem.ChangeVisMemberArtAttachment([arg1], [arg2: integer], [arg3: integer], [arg4: integer]) — not called — inferred
UnitSystem.ChangeVisMemberArtAttachmentTint([arg1], [arg2: integer], [arg3: integer], [arg4: integer]) — not called — inferred
UnitSystem.ChangeVisMemberArtVariation([arg1], [arg2: integer], [arg3: integer]) — not called — inferred
UnitSystem.GetVisHeading() -> number, number number, number not called — inferred
UnitSystem.GetVisHexHeading() -> number, number number, number not called — inferred
UnitSystem.GetVisMemberArtState(…) -> table, table table, table not called — inferred
UnitSystem.GetVisMemberCount() -> number, number number, number not called — inferred
UnitSystem.GetVisMemberState(…) -> table table not called — inferred
UnitSystem.SetAnimationState([arg1], [arg2: string], [arg3: integer], [arg4: integer]) — not called — inferred
UnitSystem.SetVisFormation(…) — not called — inferred
UnitSystem.SetVisHexHeading([arg1], [arg2]) — not called — inferred
UnitSystem.SetVisMemberAnimationState([arg1], [arg2: integer], [arg3: string]) — not called — inferred
UnitSystem.SetVisMemberDamage([arg1], [arg2: integer], [arg3: integer]) — not called — inferred
UnitSystem.SetVisMemberHeading([arg1], [arg2: integer], [arg3: integer]) — not called — inferred
UnitSystem.SetVisMemberPitchRoll([arg1], [arg2: integer], [arg3: integer], [arg4: integer]) — not called — inferred