MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetActive

Function SetActive

engine/Poseidon/Dev/Debug/DebugCheats.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void SetActive(bool active)
89{
90 if (s_active == active)
91 return;
92 s_active = active;
93 LOG_INFO(Mission, "DebugCheats::God -> {}", active ? "ON" : "OFF");
94}
95
96void Invoke(std::string_view args, std::string& out)
97{

Callers 8

InvokeFunction · 0.70
DrawCheatsTabFunction · 0.70
TriCheatShowAllUnitsFunction · 0.50
TriCheatMapTeleportFunction · 0.50
TriCheatGodFunction · 0.50
TriCheatInfiniteAmmoFunction · 0.50
TriCheatInfiniteFuelFunction · 0.50
TriCheatInfiniteArmorFunction · 0.50

Calls

no outgoing calls

Tested by 6

TriCheatShowAllUnitsFunction · 0.40
TriCheatMapTeleportFunction · 0.40
TriCheatGodFunction · 0.40
TriCheatInfiniteAmmoFunction · 0.40
TriCheatInfiniteFuelFunction · 0.40
TriCheatInfiniteArmorFunction · 0.40