Select Page


The brand new scripting documentation is located here:

AssetBundle is a special Object type that has access to assetbundle related functions like looping and trigger effects. Once you have a reference to an Object you can call these functions like this: obj.AssetBundle.getLoopingEffects().


Return ValueFunction NameDescription
intgetLoopingEffectIndex()Returns the index of the currently looping effect.
TablegetLoopingEffects()Returns a Table with the keys “index” and “name” for each looping effect.
TablegetTriggerEffects()Returns a Table with the keys “index” and “name” for each trigger effect.
voidplayLoopingEffect(int index)Starts playing a looping effect. Index starts at 0.
voidplayTriggerEffect(int index)Starts playing a trigger effect. Index starts at 0.