LuaTutorials::InterCommunications: Difference between revisions

From Spring
Jump to navigationJump to search
Jk (talk | contribs)
Created page with "<span class=note> Note LuaUnitScripts are `gadgets synced`.</span> =Inter Lua Communications= ==gadgets synced -> gadgets unsynced== * RulesParams * SendToUnsynced * SYNC..."
 
Jk (talk | contribs)
mNo edit summary
Line 1: Line 1:
<span class=note> Note [[LuaUnitScripts]] are `gadgets synced`.</span>
<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_System#Synced_2|RulesParams]] [[Lua_SyncedRead#Rules|(read funcs)]]
* SendToUnsynced
* [[Lua_System#Synced|SendToUnsynced]]
* SYNCED
* SYNCED


==gadgets synced -> widgets==
==gadgets synced -> widgets==
* RulesParams
* [[Lua_System#Synced_2|RulesParams]] [[Lua_SyncedRead#Rules|(read funcs)]]


==gadgets unsynced -> widgets==
==gadgets unsynced -> widgets==
Line 14: Line 14:


==widgets -> gadgets synced==
==widgets -> gadgets synced==
* LuaMessages
* [[Lua_UnsyncedCtrl#SendLuaMessage|LuaMessages]]


=Intra Lua Communications=
=Intra Lua Communications=
==gadgets synced -> gadgets synced==
==gadgets synced -> gadgets synced==
* RulesParams
* [[Lua_System#Synced_2|RulesParams]] [[Lua_SyncedRead#Rules|(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 30:


==widgets -> widgets (other players)==
==widgets -> widgets (other players)==
* LuaMessages
* [[Lua_UnsyncedCtrl#SendLuaMessage|LuaMessages]]

Revision as of 21:41, 26 December 2012

Note LuaUnitScripts are `gadgets synced`.

Inter Lua Communications

gadgets synced -> gadgets unsynced

gadgets synced -> widgets

gadgets unsynced -> widgets

  • Script.LuaUI

widgets -> gadgets synced

Intra Lua Communications

gadgets synced -> gadgets synced

gadgets unsynced -> gadgets unsynced

  • GG
  • Script.LuaRules / Script.LuaGaia

widgets -> widgets

  • WG

widgets -> widgets (other players)