Call of Duty Script Documentation

# magicgrenade(<origin>, <target position>, <time to blow>)

## Module

    Weapons

## Summary

    Creates a "Magic" grenade from an actor

## Call this function on

    an Actor

## Example

     self magicgrenade (self.origin, target.origin, 2.0)

## Minimum Number of arguments: 2

    1 : <origin> The starting point of the grenade toss
    2 : <target position> The target point of the grenade toss

## Number of optional arguments: 1

    1 : <time to blow> The grenade fuse time in seconds

Return to Function List