Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Command List  (Read 551 times)

cysten

  • Bay Watcher
    • View Profile
Command List
« on: March 29, 2017, 08:38:45 am »

Is there a list of all commands for dfhack?

I'm trying to trigger a goblin to attack my dwarf with interaction-trigger. Here is what I have:

modtools/interaction-trigger -onAttackStr "fighting" -onDefendStr "fighting" -command [ -unitTarget 177 ]
(I have the cursor over the goblin which seems to work)

But I need a cmd to tell the goblin to explicitly attack.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Command List
« Reply #1 on: March 31, 2017, 06:50:07 pm »

that's... not what interaction-trigger is. interaction-trigger is for having interactions trigger DFHack commands.

Also, "ls -a" lists all commands.