Call of Duty Script Documentation

# playfx ( <effect id >, <position of effect>, <forward vector>, <up vector> )

## Module

    Effects

## Summary

    Play this effect.

## Example

    fx = playfx (enginesmoke, engine.origin);

## Minimum Number of arguments: 2

    1 : <effect id> The effect id returned by loadfx
    2 : <position of effect> The world position of the effect

## Number of optional arguments: 2

    1 : <forward vector> The forward vector of the effect
    2 : <up vector> The up vector of the effect

Return to Function List