Skip to content

grandMA3Plugin Starter

Write grandMA3 plugins in TypeScript — with full IntelliSense, typed MA3 API, and a one-command path from .ts to importable .lua + .xml

dist/plugin.lua
lua
local sequences = ObjectList("Sequence 1 thru 10")

local i = 0
while i < #sequences do
    local seq = sequences[i + 1]
    if seq:GetClass() == "Sequence" then
        Printf(seq.name .. ": " .. tostring(seq.autoStart))
    end
    i = i + 1
end
src/plugin.ts
ts
import { 
is
} from 'grandma3-toolkit';
const
sequences
=
ObjectList
('Sequence 1 thru 10');
sequences
.
forEach
((
seq
) => {
if (
seq
&&
is
.
Sequence
(
seq
)) {
Printf
(`${
seq
.
name
}: ${
seq
.
autoStart
}`);
} });

Released under the MIT License.