r2ks Posted November 5, 2023 Share Posted November 5, 2023 NOOB here How do i attach a LUA script to a Object Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted November 5, 2023 Share Posted November 5, 2023 In Ledwerks: Go to scene tab in the editor. Find the object you wish to attached the script to and click on it. The properties tab will now appear below this. It will show "general", "Appearance", "Physics" and "Script" tabs. Click on the script tab. In the Script box click on the folder button. This will open file dialog where you can navigate to the script you wish to use. A more detailed description can be found here https://www.leadwerks.com/learn?page=Tutorials_Games_Marble-Game_Player-Setup Quote Link to comment Share on other sites More sharing options...
Josh Posted November 5, 2023 Share Posted November 5, 2023 In Ultra there is an "Add Component" button in the entity properties under the Map tab in the right-hand sidepanel. Find the component you want to add and double-click on it. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
r2ks Posted November 5, 2023 Author Share Posted November 5, 2023 Thank you, Josh for some I thought that would be the case and all I am seeing is this? no way to add a script. Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted November 6, 2023 Solution Share Posted November 6, 2023 Those are the available scripts you can add. To add a new component, you need a JSON file to accompany it that defines the available properties and methods. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.