Did you know? Every one of these messages is hand-typed live, just for you.

binding a key to perform a set of actions

For gameplay advice and broader discussion of single-player Unreal including custom maps, mods and mutations that alter the game.

Moderators: Semfry, zYnthetic, ividyon

User avatar salsaSkaarj
Gilded Claw Gilded Claw
Posts: 1753
Joined: 21 Apr 2009, 21:54
Location: on the prowl

Subject: binding a key to perform a set of actions

Post Posted: 05 Sep 2017, 20:22

Is it possible to bind 1 key to a set of actions e.g. fire the rocketlauncher immediately followed by a change to another weapon, or turn on the searchlight followed by firing the DP (just trying to give 2 examples of different actions)?
Standard commands in UT don't allow this but I suspect it could be done with a script.

User avatar watcher_of_the_skies
Skaarj Assassin Skaarj Assassin
Posts: 130
Joined: 17 Aug 2015, 10:27

Subject: Re: binding a key to perform a set of actions

Post Posted: 05 Sep 2017, 20:32

Use some bunnyhop script for an example.

User avatar salsaSkaarj
Gilded Claw Gilded Claw
Posts: 1753
Joined: 21 Apr 2009, 21:54
Location: on the prowl

Subject: Re: binding a key to perform a set of actions

Post Posted: 05 Sep 2017, 20:39

watcher_of_the_skies wrote:Use some bunnyhop script for an example.

Image
anything else I need to do?


medor
Skaarj Lord Skaarj Lord
Posts: 152
Joined: 07 Jun 2009, 22:58

Subject: Re: binding a key to perform a set of actions

Post Posted: 07 Sep 2017, 00:28

Mouse with macro

User avatar ividyon
Administrator Administrator
Posts: 2271
Joined: 12 Nov 2007, 14:43
Location: Stuttgart, Germany
Contact:

Subject: Re: binding a key to perform a set of actions

Post Posted: 08 Sep 2017, 09:02

You may be interested in AutoHotkey; it is a program for setting up such macros, which can then be called via a key.

Sadly, I don't have examples on how a script would look, since I haven't used it in a while, so you will need to fiddle with it yourself. Thankfully, there are tutorials available in the web!

AutoHotkey
AutoHotkey Beginner Tutorial

Good luck!
UnrealSP.org webmaster & administrator

ImageImage


Who is online

Users browsing this forum: No registered users and 6 guests