Jump to content
View in the app

A better way to browse. Learn more.

Obsidian Forum Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can console commands be done by script?

Featured Replies

I'd like to make an item that can turn TB mode on and off to save typing it into the console whenever I want to switch, and I'm wondering if the "SetTacticalMode" console command can be set to an "inspect on use" button (like the one the Ordinary Sword has, that when you inspect it replaces it with the Watcher's Blade). So if you're in turn-based mode you'd use the inspect button and the "settacticalmode disabled" command would take effect and switch you to realtime. I've tried various permutations of trying to script this, but it doesn't seem to be possible to make it happen. I was wondering if anyone here with more technical knowhow had any ideas? Or if by any chance BMac is passing and would know?

There isn't anything in the documentation about scripts that call console commands unfortunately. 

Edit: Examining the game assemblies with DnSpy shows this:

u6nm18s.png

So if there were a script for changing tactical mode it would look something maybe:

"Data": {
    "FullName": "Void SetTacticalMode(TacticalMode)",
    "Parameters": [
        "Roundbased"
    ]
}

However this didn't seem to work from what I have tested...

My assumption is that it has to actually be added to a list of available scripts to be accessible outside of the console commands. 

Edited by Kvellen

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.