If I wanted to bind Priority to a key

If I wanted to bind Priority to a key

A dynamic game undergoing constant development and refinement, that attempts to balance playability with fresh and innovative features.

Moderator: Content Developer

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14572
Joined: 17 Nov 2005, 02:43

If I wanted to bind Priority to a key

Post by Forboding Angel » 02 Apr 2012, 23:53

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.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14572
Joined: 17 Nov 2005, 02:43

Re: If I wanted to bind Priority to a key

Post by Forboding Angel » 02 Apr 2012, 23:54

I'm a moron. It's just "priority".

Sorry for the trouble.
0 x

Post Reply

Return to “Zero-K”

cron