OneHitWonder Posted April 15, 2020 Share Posted April 15, 2020 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. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted April 16, 2020 Share Posted April 16, 2020 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. 1 Quote Link to comment Share on other sites More sharing options...
OneHitWonder Posted April 17, 2020 Author Share Posted April 17, 2020 @gamecreator I figured that would be the case. I can see that some of the provided scripts either use globals or use imports. Cheers. Quote 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.