Black Ops III

BadPlace_Box

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

Example:

BadPlace_Box( "moody", -1, level.moodyfall_mn, level.moodyfall_halfSize, "neutral" )

Parameters

ParameterSummary
*nameThe name of the bad place. If name is not "", the bad place can be moved or deleted by using the unique name.
*durationIf 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.
*originThe origin of the box.
*halfSizeThe halfSize of the box.
*teamYou must specify at least one team for which this place is bad, but can give several. The allowed teams are 'axis', 'allies', and 'neutral'.

* = mandatory