Help
#1
Photo 
Hi there. I'm new to Buildism lua, and need some help getting use to it. I have a few questions that I hope will be answered.

-How do you run a piece of code? Whenever I write some, it doesn't execute.

-Can you create a GUI? If so, how?

-Is this lua unlimited? If it isn't, why not?

Thanks.
Reply
#2
(04-02-2011, 09:32 AM)Blizzard Wrote: Hi there. I'm new to Buildism lua, and need some help getting use to it. I have a few questions that I hope will be answered.

-How do you run a piece of code? Whenever I write some, it doesn't execute.

-Can you create a GUI? If so, how?

-Is this lua unlimited? If it isn't, why not?

Thanks.


1. Click Insert Object>Script, type your code, and close the script editor. Right click your script in the navigator and click "Run Script" to run it. You can do this to rerun it too, but if the script uses events, you should cut and paste it or the events will be connected multiple times.

Buildism runs all scripts in a game when it is loaded.

Scripts in tools run when a player joins, or when the player drops a tool and picks it up again.

2. No, but you can use the "Clicked" events that boxes/circles have.

3. I haven't restricted any features, but we're using a Java port of Lua, so there may be some differences from the C++ version.
Reply
#3
Okay, thanks. Got a lot of work to do if I want to get used to this API.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)