|
| 08 Aug 2014 04:10 PM |
Is it posilble to fold certain parts of your script in so your script looks more organized?
As an example I am scripting a little bit with an other program too where you can use #Region example:
#REGION Blalala Part of script here #END REGION
Then there comes an arrow before the #REGION and when i click on it it folds in (just like doing it with a function)
Is this possible in LUA? |
|
|
| Report Abuse |
|
|
| |
|
DEVMAC101
|
  |
| Joined: 01 May 2013 |
| Total Posts: 856 |
|
|
| 09 Aug 2014 04:34 AM |
Ummm no.
--[[ ]]-- Can make space for scripting lines, whilst ignoring anything inside he brackets. |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 04:48 AM |
Yes, well kind of, k so if you make a function like this:
function yipee() --code end
then on that there is a:
>function yipee() --code end
If you click that that function will become just this:
function yipee() |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 02:36 PM |
| Okay and will the script keep working the same if I just put functions in it? |
|
|
| Report Abuse |
|
|