Call of Duty Script Documentation

# setshader(<materialname>, <width>, <height>

## Module

    HUD

## Summary

    Set the material for this Hud Element

## Call this function on

    Hud Element

## Example

    waypoint setShader("playbook_objective_stop", 15, 15);

## Minimum Number of arguments: 1

    1 : <materialname> A the name of the material to set

## Number of optional arguments: 2

    1 : <width> The width of the material.
    2 : <height> The height of the material.

Return to Function List