So how exactly would I go about calling these guys http://springrts.com/wiki/UI_commands
from lua scripts?
calling ui commands
Moderator: Moderators
Re: calling ui commands
From the wiki:
i.e. Spring.SendCommands("water 4")
Code: Select all
Spring.SendCommands
( string command1 [, string command2 [ ... ] ] ) -> nil
( {string command1, string command2, ...} ) -> nil
-
- Posts: 7
- Joined: 30 Sep 2010, 03:40
Re: calling ui commands
Thank you Niobium. I didn't notice it in the wiki before.
My attention was initially drawn to Spring.SendLuaUIMsg by the name which I of course found had nothing to do with what I needed.

My attention was initially drawn to Spring.SendLuaUIMsg by the name which I of course found had nothing to do with what I needed.