|
Post by alanmattano on Jan 2, 2020 1:38:37 GMT
I wish to make automatic functions and use the "Script Hub"
How to start scripting? and where to start learning about Rizom lua script api?
|
|
|
Post by alanmattano on Jan 2, 2020 1:48:58 GMT
Here is an example: youtu.be/VxOND2G2iR8?t=244SOLUTIONScripting in Rizom is very simple: Fist in the top tool bar select "Tools" and click on "Show Script Log Window" The Script and Log Window will open. There is a section "Command Log". Press the "Clear" button to delete all the previews commands. Now make an action. This will be added to the command Log For example if you load a file, in the command Log will be display: ZomLoad({File={Path="X:\mesh\Test.obj", ImportGroups=true, XYZUVW=true, UVWProps=true}}) Now copy this line and place it into the "Lua Script" editor on top. Save the lua file Now you can use that as a tool command in the Script Hub
|
|