Would it be possible for triggers to call functions in Lua tables? Ie:
demo = {}
demo.test = function() world.Send('blah') end
<trigger
...
script="demo.test"
...
>
</trigger>
Or something along these lines? It's easy enough to work around by simply making duplicate functions that are callable by triggers, but thats so messy...
demo = {}
demo.test = function() world.Send('blah') end
<trigger
...
script="demo.test"
...
>
</trigger>
Or something along these lines? It's easy enough to work around by simply making duplicate functions that are callable by triggers, but thats so messy...