Jump to content

How do I attach a script


r2ks
 Share

Go to solution Solved by Josh,

Recommended Posts

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

Link to comment
Share on other sites

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.

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

  • Solution

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.

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...