EffectCall

Category: Effects
Since engine version: 1.0 OC

Description

Makes a function call in the specified effect. The call is made within the context of the effect. The first two parameters are always the target object and the effect. The remaining parameters can be freely chosen.

Syntax

any EffectCall(object target, proplist effect, string command, any ...);

Parameters

target:
[opt] Target object of the effect the of which you want to access variables. nil for global effects.
effect:
The effect.
command:
Function to be called. The prefix 'Fx' is automatically prepended to the function name. Do not include 'Fx' in the parameter.
...:
Additional parameters

Remark

For examples and more information see the effects documentation.
See also: CheckEffect, CreateEffect, Effects Documentation, GetEffect, GetEffectCount, RemoveEffect
Sven2, 2004-03