1 |
[quote]I don't know how one would gadgetize something like that though[/quote]
|
1 |
[quote]I don't know how one would gadgetize something like that though[/quote]
|
2 |
Send
it
from
LuaRules
synced
to
LuaRules
unsynced
like
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/3a847c050c86bafe2f95ef269e56e9255bd66350/LuaRules/Gadgets/unit_spawner.
lua#L1081]this[/url],
relay
to
it
in
LuaUI
like
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/3a847c050c86bafe2f95ef269e56e9255bd66350/LuaRules/Gadgets/unit_spawner.
lua#L1399]this[/url]
and
then
listen
to
it
like
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/9e5149389bd068d03b69e090b9121c9d971ecf97/LuaUI/Widgets/gui_chili_chicken.
lua#L520]this[/url].
Add
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/mex_spot_finder.
lua#L495]this[/url]
if
you
want
to
also
send
this
to
any
active
AI's.
|
2 |
Send
it
from
LuaRules
synced
to
LuaRules
unsynced
like
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/3a847c050c86bafe2f95ef269e56e9255bd66350/LuaRules/Gadgets/unit_spawner.
lua#L1081]this[/url],
relay
to
it
in
LuaUI
like
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/3a847c050c86bafe2f95ef269e56e9255bd66350/LuaRules/Gadgets/unit_spawner.
lua#L1399]this[/url]
and
then
listen
to
it
like
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/9e5149389bd068d03b69e090b9121c9d971ecf97/LuaUI/Widgets/gui_chili_chicken.
lua#L520]this[/url]
in
a
widget.
Add
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/mex_spot_finder.
lua#L495]this[/url]
if
you
want
to
also
send
this
to
any
active
AI's.
|
3 |
\n
|
3 |
\n
|
4 |
More info [url=https://springrts.com/wiki/Lua_sync_to_unsync#Using_SendToUnsynced]here[/url].
|
4 |
More info [url=https://springrts.com/wiki/Lua_sync_to_unsync#Using_SendToUnsynced]here[/url].
|
5 |
\n
|
5 |
\n
|
6 |
[quote]Some of the code for drawing the circles might be reusable? [/quote]
|
6 |
[quote]Some of the code for drawing the circles might be reusable? [/quote]
|
7 |
Possibly, but wouldn't it be cool if they looked cool?
|
7 |
Possibly, but wouldn't it be cool if they looked cool?
|