Call of Duty Script Documentation

# badplace_cylinder(<name>, <duration>, <origin>, <radius>, <height>, <team>, <team>...)

## Module

    BadPlaces

## Summary

    Creates a bad place cylinder. AI will flee this position if they can, and will not go into it if they can avoid it.

## Example

    badplace_cylinder("moody", -1, level.moodyfall_origin, 75, 300, "neutral");

## Minimum Number of arguments: 6

    1 : <name> The name of the bad place. If name is not "", the bad place can be moved or deleted by using the unique name.
    2 : <duration> If duration > 0, the bad place will automatically delete itself after this time. If duration <= 0, the bad place must have a name and will last until manually deleted.
    3 : <origin> The base position of the bad place.
    4 : <radius> The radius of the bad place.
    5 : <height> The height of the bad place.
    6 : <team> You must specify at least one team for which this place is bad, but can give several.  The allowed teams are 'axis', 'allies', and 'neutral'.

## Number of optional arguments: 0

Return to Function List