LuaTutorials::InterCommunications: Difference between revisions
From Spring
Jump to navigationJump to search
Created page with "<span class=note> Note LuaUnitScripts are `gadgets synced`.</span> =Inter Lua Communications= ==gadgets synced -> gadgets unsynced== * RulesParams * SendToUnsynced * SYNC..." |
|||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<span class=note> Note [[LuaUnitScripts]] are `gadgets synced`.</span> | [[Engine_Development|Development]] < [[Lua_Scripting|Lua Scripting]] < {{FULLPAGENAME}} | ||
<span class=note> Note [[Animation-LuaScripting|LuaUnitScripts]] are `gadgets synced`.</span> | |||
=Inter Lua Communications= | =Inter Lua Communications= | ||
==gadgets synced -> gadgets unsynced== | ==gadgets synced -> gadgets unsynced== | ||
* RulesParams | * [[Lua_SyncedCtrl#RulesParams|RulesParams]] [[Lua_SyncedRead#RulesParams|(read funcs)]] | ||
* SendToUnsynced | * [[Lua_System#Synced|SendToUnsynced]] | ||
* SYNCED | * [[Lua_sync_to_unsync|SYNCED]] | ||
==gadgets synced -> widgets== | ==gadgets synced -> widgets== | ||
* RulesParams | * [[Lua_SyncedCtrl#RulesParams|RulesParams]] [[Lua_SyncedRead#RulesParams|(read funcs)]] | ||
==gadgets unsynced -> widgets== | ==gadgets unsynced -> widgets== | ||
* Script.LuaUI | * Script.LuaUI | ||
==widgets -> gadgets synced== | ==widgets, gadgets unsynced -> gadgets synced== | ||
* LuaMessages | * [[Lua_UnsyncedCtrl#SendLuaMessage|LuaMessages]] | ||
=Intra Lua Communications= | =Intra Lua Communications= | ||
==gadgets synced -> gadgets synced== | ==gadgets synced -> gadgets synced== | ||
* RulesParams | * [[Lua_SyncedCtrl#RulesParams|RulesParams]] [[Lua_SyncedRead#RulesParams|(read funcs)]] | ||
* GG | * GG | ||
* Script.LuaRules/ Script.LuaGaia | * Script.LuaRules / Script.LuaGaia | ||
==gadgets unsynced -> gadgets unsynced== | ==gadgets unsynced -> gadgets unsynced== | ||
* GG | * GG | ||
* Script.LuaRules/ Script.LuaGaia | * Script.LuaRules / Script.LuaGaia | ||
==widgets -> widgets== | ==widgets -> widgets== | ||
| Line 30: | Line 33: | ||
==widgets -> widgets (other players)== | ==widgets -> widgets (other players)== | ||
* LuaMessages | * [[Lua_UnsyncedCtrl#SendLuaMessage|LuaMessages]] | ||
== Further Reading == | |||
{{forumlink|topic=11408|title=Communicating between Gadgets (forum thread)}} | |||
[[category: Lua]] | |||
Latest revision as of 17:03, 2 February 2018
Development < Lua Scripting < LuaTutorials::InterCommunications
Note LuaUnitScripts are `gadgets synced`.
Inter Lua Communications
gadgets synced -> gadgets unsynced
gadgets synced -> widgets
gadgets unsynced -> widgets
- Script.LuaUI
widgets, gadgets unsynced -> gadgets synced
Intra Lua Communications
gadgets synced -> gadgets synced
- RulesParams (read funcs)
- GG
- Script.LuaRules / Script.LuaGaia
gadgets unsynced -> gadgets unsynced
- GG
- Script.LuaRules / Script.LuaGaia
widgets -> widgets
- WG