Author Topic: Enable/Disable command sets for use within same game  (Read 2619 times)

SgtStank

  • Guest
Enable/Disable command sets for use within same game
« on: August 25, 2017, 11:07:08 PM »
Is there a means to invoke a command that would enable or disable other commands? End game is to be able to switch "setups" for different "vehicles/weapons" within a game, using the same limited buttons/keys as triggers.

Or would this require creating multiple profiles and duplicating all of the other agnostic commands in I use in the game for each profile?

Thanks

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4747
  • RTFM
Re: Enable/Disable command sets for use within same game
« Reply #1 on: August 26, 2017, 09:29:50 AM »
Commands cannot be disabled or swapped out directly, no.

You could go about this a number of ways:

Put all the logic in the same set of commands, using conditions to choose which branch is executed, depending on the vehicle/weapon you're using

Use different commands for each vehicle/weapon, and use a single command that is activated by a button press which again contains branching conditions, this time to choose which command is executed

Rather than duplicating commands between profiles, use one profile for each vehicle/weapon set, and one common profile containing the "agnostic" commands which is then included in the vehicle/weapon profiles.