Xcom Enemy Unknown Console Commands -

| Command Syntax | Effect | |---------------|--------| | GiveCash 500 | Adds §500 | | UnlockTech psionics | Instantly research tech by name | | SpawnUnit eChar_Sectoid | Spawns sectoid at cursor (in tactical) | | WinMission | Ends tactical with victory | | ToggleFOW | Toggles fog of war | | SetPerk 41 | Adds "Run & Gun" to selected soldier | | GiveItem plasma_rifle 3 | Adds 3 plasma rifles to inventory | | AdvanceTime 5 | Advances geoscape 5 hours (events trigger) | Step 5 – Hook into Tactical Input Allow commands to target current selected unit:

`log("Added" @ Amount @ ResourceType);

switch(ResourceType)

class XComDevConsole extends XComConsole config(DevConsole); // Exec functions are automatically callable from console exec function GiveResource(name ResourceType, int Amount)

exec function SpawnUnit(name UnitTemplateName, optional vector SpawnLoc) xcom enemy unknown console commands

local XGStrategy strat; strat = GetStrategy(); if(strat != none) strat.m_kTechTree.UnlockAllTechs();

log("--- Dev Console ---"); log("GiveCash <amount>"); log("GiveAlloys <amount>"); log("UnlockAllTechs"); log("WinMission"); log("SpawnUnit <template>"); | Command Syntax | Effect | |---------------|--------| |

function Console GetConsole()