Search found 9 matches: LuaWrapper

Searched query: +LuaWrapper

by Best4444
11 Jul 2023, 19:44
Forum: Plug-In Discussion
Topic: Plugin Ideas: India Hits
Replies: 47
Views: 5348

Re: Plugin Ideas: India Hits

... } ]``` or ```json [ { "id":"$scriptingtest00", "type":"script", "script":"#LuaWrapper", "meta":{ "luawrapper":{ "script":"script.lua", "dev":true //set this to true for ...
by Lobby
28 Aug 2020, 21:34
Forum: Lua Scripting
Topic: GUI example in Plugin Creator Tools
Replies: 2
Views: 6165

GUI example in Plugin Creator Tools

... "text":"This tool provides an example for what can be done in regard to UI using Lua.", "script":"#LuaWrapper", "meta":{ "luawrapper":{ "script":"GUIExample.lua", "dev":true } } }]
by Lobby
28 Aug 2020, 12:04
Forum: Lua Scripting
Topic: Tree Planter Tool (Open Source)
Replies: 0
Views: 5263

Tree Planter Tool (Open Source)

... "text id":"draft_treeplantertool00_text", "category":"$cat_tree00", "script":"#LuaWrapper", "meta":{ "luawrapper":{ "script":"script.lua", "dev":true } } } ] :plugin You'll ...
by KINGTUT10101
27 Jul 2020, 16:34
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 9
Views: 9882

Re: [792] Real time script editing

... get this error: Screenshot_20200727-093329.png [ { "frames":[], "id":"TheoThoughts.kt101", "meta":{ "luawrapper":{ "dev":true, "script":"TT.lua" } }, "script":"#LuaWrapper", "strictlua":true, ...
by Lobby
27 Jul 2020, 09:28
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 9
Views: 9882

Re: [792] Real time script editing

No, it just have to match with what you specified as script for the LuaWrapper :)
by ian`
19 Jul 2020, 04:02
Forum: Other
Topic: Animation xy checker
Replies: 0
Views: 2271

Animation xy checker

... youranimid '):getFrame(1)) Then attach the lua script to json with realtime lua code. "strich lua":true,"script":"#LuaWrapper","meta":{"luawrapper":{"script":"xychecker.lua","dev":true}} After you check the positions ...
by Hadestia
24 Jun 2020, 14:40
Forum: Plug-In Discussion
Topic: How can I make a notification recommend a building to a player in Lua?
Replies: 12
Views: 4742

Re: How can I make a notification recommend a building to a player in Lua?

... store frames in it "frames":[{"bmp":"frames.png","w":32,"count":4}], "script":"#LuaWrapper", "meta":{ "luawrapper":{ "script":"script.lua", "dev":true // Allows us to change ...
by Lobby
14 Jun 2020, 13:31
Forum: Plug-In Discussion
Topic: How can I make a notification recommend a building to a player in Lua?
Replies: 12
Views: 4742

Re: How can I make a notification recommend a building to a player in Lua?

... store frames in it "frames":[{"bmp":"frames.png","w":32,"count":4}], "script":"#LuaWrapper", "meta":{ "luawrapper":{ "script":"script.lua", "dev":true // Allows us to change ...
by Lobby
07 Jan 2020, 18:28
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 9
Views: 9882

[792] Real time script editing

... script with the game applying the changed automatically in real time? That's exactly what can be done by a newly introduced helper script called #LuaWrapper. Right now your json to include a script may look like that: "script":"myscript.lua" For real time scripting use this ...

Go to advanced search