Jump to content

Recommended Posts

Posted

Hello,

I am new around here! While I have owned this engine for quite sometime (since 2017) I have never got around to actually using it. Today I have been playing around with the engine, testing various features and reading lots of documents but one thing I haven't quite figured out yet is how to attach multiple scripts to an entity. Is this possible?

My script attached to my player currently creates a top down camera but I wanted to add a script for movement and animation.

Thanks.

Posted

Maybe someone else can give a better answer since I don't use Lua but if I remember right, it's a maximum of 1 script per entity.  But you can attach another script to a pivot and I think the scripts can communicate with each other.

  • Thanks 1

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.

×
×
  • Create New...