LDT Execution Environment for Halion

Post topics about HALion scripting.
Post Reply
misohoza
Member
Posts: 860
Joined: Sun Oct 05, 2014 12:18 am
Contact:

LDT Execution Environment for Halion

Post by misohoza » Mon Apr 15, 2019 8:13 pm

Lua Development Tools (LDT) uses so called Execution Environment for code assistance (auto-complete suggestions and tooltips). I tried to create one for Halion.
halion.zip
(74.59 KiB) Downloaded 25 times
How to install:
  • Download the attachment. Do not unzip.
  • In LDT go to Window>Preferences>Lua>Execution Environments. Click the Add button and select the Execution Environment file.

More detailed information can be found here: Managing Execution Environments

Limitations:

Some functions return an array with objects (findLayers, findZones, ...). If you use ipairs with this array you will get no auto complete suggestions.

Code: Select all

zones = this.parent:findZones()
for i, zone in ipairs(zones) do
--no suggestions after typing zone:
end
Using numeric for loop or accessing the table values by index should work.

Notes:

Default shortcut to invoke auto complete suggestions is Ctrl + Space. After typing colon or dot auto complete suggestions should appear automatically.
Win 10 Home, 64 bit, 8 gb ram,
Cubase Pro 9, Wavelab Pro 9, Halion 6, Dorico,
NI Komplete 10 Ultimate, Ozone 7,
UR 44

User avatar
abject39
Member
Posts: 317
Joined: Sat Jan 17, 2015 8:20 pm
Location: Ventura, Ca
Contact:

Re: LDT Execution Environment for Halion

Post by abject39 » Mon Apr 22, 2019 10:53 am

nice!
My vision is uncompromising: to transcend my clients dreams by mesmerizing their audience with the world's finest audio arrangements and products.

Post Reply

Return to “Halion Scripting”

Who is online

Users browsing this forum: No registered users and 2 guests