fx = GetRandomFX(objfx)
GetRandomFX() then scans the available effects and
returns a random effect for you which you can then pass to the special
effects functions like DisplayBrushFX() and DisplayTransitionFX().
Normally, you do not have to use this function because you can simply
pass #RANDOMEFFECT with all special effects functions. GetRandomFX() is
only useful if you want to filter effects, i.e. you want to choose a
random effect but not #WATER1, for example. In that case, you can call
GetRandomFX() until it returns an effect that is different from the ones
you don't want.
See DisplayTransitionFX for the different types of Hollywood's transition effects.
True if you want to have an object effect or False for a
background picture effectRepeat fx = GetRandomFX(FALSE) Until fx <> #WATER1 DisplayTransitionFX(2, fx)The code above chooses a random background picture effect but never the
#WATER1 effect. After having chosen the effect, background picture 2
is display with this effect.