Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you go about making a ship with multiple controls?

Asked by 10 years ago

For example, when you sit down and a bunch of controls for speed, weapons etc. pop up in a gui. How would I be able to do that?

2 answers

Log in to vote
0
Answered by
Hybric 271 Moderation Voter
10 years ago

Do****

key = key:lower()
****if key == " PUT A KEY HERE THEN"
****PUT EFFECT HERE

****else
****if key == "PUT ANOTHER KEY HERE" then
****PUT EFFECT HERE.

**So you use else, if.

Ad
Log in to vote
0
Answered by
Kozero 120
10 years ago

You would need to learn the concepts of scripting Lua.Don't ask how to make things but ask if you have problems with small scripts from 0-100lines.If you want to learn Lua I would recommend PigHead10's Lua tutorial on YouTube or you could send me your Skype name so I can send you some word docs for the basics of Lua from the Lua Learners site that has been shut down recently.

Answer this question