Default action on...
Moderator: Moderators
Default action on...
A way to set the default action for any unit onto any unit or object.
So for instance there'd be the default context-action for when you have X unit selected and your mouse is hovering over...
a dead unit
a live, friendly unit
a live, enemy unit
a live, friendly factory
and any others you can come up with...
The purpose is, it would be useful to allow a unit to by default, reclaim rather than repair, or capture rather than attack, etc. Very very useful.
So for instance there'd be the default context-action for when you have X unit selected and your mouse is hovering over...
a dead unit
a live, friendly unit
a live, enemy unit
a live, friendly factory
and any others you can come up with...
The purpose is, it would be useful to allow a unit to by default, reclaim rather than repair, or capture rather than attack, etc. Very very useful.
Thanks, I was going for a Sin City look... sorta failed and wound up grayscaleish...
(I've never actually seen Sin City or... well I've never read a comic book either actually...)
ANNNNYWAYYYY, this feature is of vital importance to some stuff I'm looking at trying, and a bunch of people just said it's possible. Can someone outline how to do it with LUA?
Thanks
(I've never actually seen Sin City or... well I've never read a comic book either actually...)
ANNNNYWAYYYY, this feature is of vital importance to some stuff I'm looking at trying, and a bunch of people just said it's possible. Can someone outline how to do it with LUA?
Thanks
A little something I posted in the lobby this week:
http://trepan.bzflag.bz/spring/defcmd_geotherm.lua
It's first demo widget for the DefaultCommand() lua call-in.
LuaUI, LuaCob, and LuaRules can all use this call-in, but
LuaUI gets the final say (requires a recent SVN exec to
try it out).
The example widget sets up a geotherm build on valid
geotherm sites if an applicable builder is currently selected.
http://trepan.bzflag.bz/spring/defcmd_geotherm.lua
It's first demo widget for the DefaultCommand() lua call-in.
LuaUI, LuaCob, and LuaRules can all use this call-in, but
LuaUI gets the final say (requires a recent SVN exec to
try it out).
The example widget sets up a geotherm build on valid
geotherm sites if an applicable builder is currently selected.