Quote
Script Command Params Values / Examples Description unlockCharacter 1: (str) wolverine, ironman Adds a hero to the playable roster permanently. lockCharacter 1: (str) scarletwitch Removes a hero from the roster. setAvailable 2: (str, bool) (profex, 1) Toggles selection visibility at Extraction Points. isAvailable 1: (str) wolverine Returns 1 if hero is unlocked, 0 if not. unlockCostume 2: (str, str|int) (storm, ultimate) Unlocks a specific skin for a specific hero. lockCostume 2: (str, str|int) (cyclops, 1) Relocks a specific skin for a specific hero. setSkin 2: (str, str|int) (colossus, 0) Instantly changes an active hero's 3D skin. getSkin 1: (str) wolverine Returns the name/index of current skin. unlockAllCostumes 0 - Global cheat: Unlocks every skin for every hero. setLevel 2: (str, int) (nightcrawler, 99) Sets character level; updates CStats. getLevel 1: (str) bishop Returns the hero's current level. addExperience 2: (str, int) (rogue, 5000) Grants a specific amount of XP. addCharacterStat 2: (str, int) (magneto, 10) Adds unspent stat points (Body, Focus, etc). resetStats 1: (str) cyclops Refunds all spent stat points to the pool. unlockPower 2: (str, str) (storm, lightning) Forces a power to unlock regardless of level. giveTechbits 1: (int) 100000 Modifies global techbit currency. giveItem 2: (str, int) (nano_bandage, 10) Adds equipment/consumables to inventory. dropItem 1: (str) health_pack Forces the player to drop an item. setCheat 2: (str, bool) (godmode, 1) Toggles flags in the CCheats bitfield. spawn 2: (str, str) (boss_apoc, mkr_1) Spawns an entity at a map locator. despawn 1: (str) npc_guard_01 Removes an entity from the active pool. kill 1: (str) player1 Sets target health to zero. revive 1: (str) player2 Resurrects a fallen hero. playAnim 2: (str, str) (beast, roar) Forces an entity to play an animation sequence. stopAnim 1: (str) wolverine Interrupts current animation. applyStatEffect 2: (str, str) (frozen, enemy_01) Manually applies a buff/debuff effect. removeStatEffect 2: (str, str) (stun, player1) Clears a specific status effect. completeMission 1: (str) m_act1_main Marks a mission ID as complete. setObjective 2: (str, int) (obj_1, 1) Sets objective state (0: Hidden, 1: Active, 2: Done). loadMap 1: (str) act1_sanctuary Teleports party to a new map file. saveGame 1: (int) 1 Triggers a save to the specified slot. loadGame 1: (int) 1 Loads the specified save slot. startConversation 2: (str, str) (convo_beast, p1) Triggers a specific dialogue interaction. stopConversation 0 - Ends active dialogue immediately. playMovie 1: (str) cin_intro Plays a BIK cinematic file. playMusic 1: (str) mus_combat_01 Changes the background music track. stopMusic 0 - Fades out current music. playSound 1: (str) snd_explosion Plays a specific sound effect. shakeCamera 2: (float, float) (1.5, 0.5) Triggers camera shake (Intensity, Duration). setCameraTarget 1: (str) boss_entity Forces camera to track a specific object. releaseCamera 0 - Returns camera control to the player. setWeather 1: (str) snow_heavy Changes map environmental effects. ent_getproperty 2: (str, str) (p1, health) Returns value of a C++ member variable. ent_setproperty 3: (str, str, val) (p1, speed, 2.0) Directly writes to a C++ member variable. exec 1: (str) myscript.py Executes an external script file. eval 1: (str) print("hello") Evaluates a string as a script command. 1: (str) Debug Active Outputs text to the engine console/log. setGlobal 2: (str, val) (g_difficulty, 2) Sets a global script variable. getGlobal 1: (str) g_story_pos Retrieves a global script variable. wait 1: (float) 2.5 Pauses script execution (in seconds). pauseGame 1: (bool) 1 Toggles the game's pause state. enableInput 1: (bool) 0 Disables/Enables player controller input. fadeToBlack 1: (float) 1.0 Fades the screen out over time. fadeFromBlack 1: (float) 1.0 Fades the screen in over time. setTimer 2: (str, int) (bomb_timer, 60) Starts an on-screen countdown. stopTimer 1: (str) bomb_timer Removes an active countdown. forceTeamChange 1: (str) wolverine Forces the player to switch to this hero. lockTeam 1: (bool) 1 Prevents the player from changing heroes. setAIState 2: (str, str) (p2, aggressive) Changes follower AI behavior. teleport 2: (str, str) (p1, exit_marker) Moves an entity to a locator instantly. setLightGroup 2: (str, int) (p1, 5) Changes lighting group for a character. setCollision 2: (str, bool) (wall_01, 0) Toggles physics collision for an object. damage 2: (str, int) (enemy_01, 50) Applies direct damage to an entity. heal 2: (str, int) (p1, 100) Restores health to an entity. invincible 2: (str, bool) (p1, 1) Toggles invulnerability for a target. setGravity 1: (float) -9.8 Modifies map-wide gravity. setGameSpeed 1: (float) 0.5 Slows down or speeds up engine time. showHUD 1: (bool) 0 Toggles the entire user interface. messageBox 1: (str) Unlock Alert! Displays a pop-up text box. quitGame 0 - Exits the application. setResolution 2: (int, int) (1920, 1080) Changes the engine's render resolution. toggleConsole 0 - Opens the internal engine debug terminal.
Sunfire Power Booster v1.0 by V. Aquilegia
Jubilee Power Booster v1.0 by V. Aquilegia