Search

Search found 3 matches

by Nihility
05 Apr 2012, 04:41
Forum: Lua Scripts
Topic: Simple Question: How do I tell which unit is selected?
Replies: 1
Views: 360

Simple Question: How do I tell which unit is selected?

I was reading through the lua scripting section and maybe I missed it, but I could not see how to determine which unit is currently selected, or if a group is selected, whichever one is prioritized for interaction (like the zero-k interface). I need to do this such that I may rebind keys in a script...
by Nihility
16 Mar 2012, 03:15
Forum: Lua Scripts
Topic: Dynamic key binding during gameplay (Help).
Replies: 2
Views: 1070

Re: Dynamic key binding during gameplay (Help).

Can I use KeyPress to bind/unbind keys in real time? That is essentially what I am looking for.
by Nihility
15 Mar 2012, 07:05
Forum: Lua Scripts
Topic: Dynamic key binding during gameplay (Help).
Replies: 2
Views: 1070

Dynamic key binding during gameplay (Help).

Hi all; I have a question for you about changing control schemes during gameplay. In the game I am developing, users switch between 1st and 3rd person mode, and I wish for the same keys to be allocated towards different commands in each state. I have a comprehension of the uikeys.txt to an introduct...

Go to advanced search