Page 1 of 1

If I wanted to bind Priority to a key

Posted: 02 Apr 2012, 23:53
by Forboding Angel
How would I do it?

Specifically I'm trying to do it with lua, I.E.

Code: Select all

	-- set Priority to be bound to i
	Spring.SendCommands({
		"unbindkeyset i",
	})
	Spring.SendCommands("bind i CMD_PRIORITY")
But apparently CMD_PRIORITY is not the correct thing. What is?

I assume the same object would be used if you wanted to bind it in uikeys as well.

Re: If I wanted to bind Priority to a key

Posted: 02 Apr 2012, 23:54
by Forboding Angel
I'm a moron. It's just "priority".

Sorry for the trouble.