AfterDeath Posted April 4, 2017 Share Posted April 4, 2017 So i was intrigued on the fact you can make and use elevator systems in leadwerks, i finally after a week of watching youtube videos and reading forums got it to finally move up a floor, but now i can't seem too figure out when i interact with it by pressing "E" in run mode, i keep grabbing it and shaking it like a rattle. Does anyone know how too make it a rigid body and do it's one job to go just up and down? Thanks Quote Link to comment Share on other sites More sharing options...
AfterDeath Posted April 4, 2017 Author Share Posted April 4, 2017 I recorded my problem hopefully it makes things clearer too understand probably not but heres a hoping. Thanks Quote Link to comment Share on other sites More sharing options...
Genebris Posted April 4, 2017 Share Posted April 4, 2017 Remove the code that is responsible for picking objects up from the player script or increase the weight of the object. Picking up triggers only on light props. 1 Quote Link to comment Share on other sites More sharing options...
AfterDeath Posted April 5, 2017 Author Share Posted April 5, 2017 Thanks for pointing out the Mass part, it did fix the pick up issue, now just too deal with why the script either elevator or liftwaypoint won't let me send the elevator up or down am i suppose too put a separate button all together to command the elevator ? Thanks Quote Link to comment Share on other sites More sharing options...
Josh Posted April 5, 2017 Share Posted April 5, 2017 You could use the sliding door script, if they only go to two levels. 1 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...
AfterDeath Posted April 5, 2017 Author Share Posted April 5, 2017 Thank you i wasn't aware, that could be done; so much too learn Quote Link to comment Share on other sites More sharing options...
Josh Posted April 5, 2017 Share Posted April 5, 2017 Sure, just set the vector to go up and down instead of side to side. 1 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...
AfterDeath Posted April 5, 2017 Author Share Posted April 5, 2017 ok so im once again stumped with the elevator, i watched the tutorials, taking notes, following scripts. I did get the push button too work on the elevator and it does go up and down, but now i can't get it too stop at the second floor, it will just automatically go up than right back down, and the height will not change i tried changing it from 19 to 2000 it still goes up only so far than right back down. Im using the flowgraph system, with sliding door.lua and pushbutton.lua on control. Thanks Quote Link to comment Share on other sites More sharing options...
Josh Posted April 5, 2017 Share Posted April 5, 2017 The sliding door script only goes up and down. If you want other behavior, you will need to write a new script. 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...
Thirsty Panther Posted April 5, 2017 Share Posted April 5, 2017 There is a multi level elevator script in the Workshop. https://www.leadwerks.com/workshopitem?tags=Script&queryType=1&fileType=0&fileid=510080616 2 Quote Link to comment Share on other sites More sharing options...
AfterDeath Posted April 5, 2017 Author Share Posted April 5, 2017 newbie question. Is that C++ programming that i will need to learn to script? I never done this before making games or C++ or lua, might have 55 hours into LE. If it is, how hard is C++ to learn with just basic computer knowledge? Thanks again for all your help Quote Link to comment Share on other sites More sharing options...
Genebris Posted April 5, 2017 Share Posted April 5, 2017 No, it's Lua and it's easy. 1 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.