r2ks Posted November 5, 2023 Posted November 5, 2023 NOOB here How do i attach a LUA script to a Object Quote
Thirsty Panther Posted November 5, 2023 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
Josh Posted November 5, 2023 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.
r2ks Posted November 5, 2023 Author 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
Solution Josh Posted November 6, 2023 Solution 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.
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.