Loading...
Home
Home
Unlocks
Commanders
Map Bans
Polls
Play
Download Zero-K
Download the game, it's free! :)
Maps
Thousands of maps to pick
Replays
All your past victories, stored here!
Mods
Special game modes
Media
Screenshots
Videos
Presskit
Wiki
Index
Newbie guide
Don't know where to begin? Click here.
Video tutorials
Demonstrating both basic and advanced features
Units
Economy
Terraforming
Let's go play in the dirt!
FAQ
Frequently Asked Questions
PlanetWars
PlanetWars
Multiplayer online campaign
Ladder
Factions
The mighty factions controlling huge sectors of galaxy
Community
Forum
Discuss, ask for help, have fun!
Clans
Play with your friends or make friends while playing :)
Ladders
Statistics
Code of Conduct
Be nice, have fun!
Develop
Make the game with us
Privacy Policy
Contact
Contact the Zero-K team
Credits
Makers of Zero-K
Donate
Help cover the server costs!
OR
Zero-K Name:
Password:
Login
Forum index
>
General discussion
>
Development
>
differentiate manual given commands
5 posts, 413 views
Filter:
Player:
Post comment
sort
snoke
6 years ago
is there a way to differentiate manual given commands from automatic, unitAI or widget given commands in lua-script?
was gonna code a simple apm counter using UnitCommand- or CommandNotify-Calling, but most arent even manual given ones
+0
/
-0
Anarchid
6 years ago
Just count clicks and keypresses.
+0
/
-0
Sprung
6 years ago
quote:
count clicks and keypresses
Spring.GetPlayerStatistics
+2
/
-0
snoke
6 years ago
quote:
Spring.GetPlayerStatistics
thx, seems to work so far
+0
/
-0
snoke
6 years ago
(edited 6 years ago)
nothing big tho:
https://springfiles.com/spring/lua-scripts/apm-counter-simple
someone asked for this yesterday, sadly i forgot who that was
+0
/
-0
Post comment