way to recieve messages in unsynced part of gadget?

way to recieve messages in unsynced part of gadget?

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

way to recieve messages in unsynced part of gadget?

Post by smoth »

Since I cannot rely on a widget to start and keep tables on hand, I would like to have a simple gadget that serves to act as a listener for data requests. Seems odd to sync stuff like this when it is used for widgets
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: way to recieve messages in unsynced part of gadget?

Post by SpliFF »

Are you saying you need a mandatory widget (always loads and can't be unloaded)? I'm sure you could do this easily enough by selectively modifying LuaUI/ scripts like the widgetHandler class.

Alternatively are you saying you want to send messages between widgets without going through synced?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: way to recieve messages in unsynced part of gadget?

Post by gajop »

SpliFF wrote:Are you saying you need a mandatory widget (always loads and can't be unloaded)? I'm sure you could do this easily enough by selectively modifying LuaUI/ scripts like the widgetHandler class.
wouldn't "/luaui reload" still probably reload it?
Post Reply

Return to “Lua Scripts”