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: 14637
Joined: 17 Nov 2005, 02:43

If I wanted to bind Priority to a key

Post 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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14637
Joined: 17 Nov 2005, 02:43

Re: If I wanted to bind Priority to a key

Post by Forboding Angel »

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

Sorry for the trouble.
Post Reply

Return to “Zero-K”