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



All times are UTC + 1 hour


Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 05 Apr 2012, 03:41 

Joined: 15 Mar 2012, 06:58
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 in luarules.

Please inform me of the corresponding function, or process.


Top
 Offline Profile  
 
PostPosted: 05 Apr 2012, 05:56 
User avatar

Joined: 07 Dec 2008, 02:35
http://springrts.com/wiki/Lua_UnsyncedR ... cted_Units


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.