Call of Duty Script Documentation

# dodamage(<health>, <source position>)

## Module

    Entity

## Summary

     Does damage to this entity

## Call this function on

    <entity> An entity

## Example

    tank dodamage( tank.health + 200, (0,0,0) );

## Minimum Number of arguments: 2

    1 : <health> The amount of damage to do
    2 : <source position> The position that the damage comes from

## Number of optional arguments: 0

Return to Function List