Black Ops III

Missile_CreateAttractorOrigin

Creates a missile attractor at the given location

Example:

attractor = Missile_CreateAttractorOrigin( (100, 350, 10), 10000, 6000 )

Parameters

ParameterSummary
*originThe center of the attractor
*strengthThe strength of the attractor (maximum acceleration it can apply to a missile)
*affectDistThe effective distance at which the missile can be affected. The effect of the attractor falls off from to zero from the center to this distance away from the center.
affectAllProjectilesIf set it will affect all projectiles inculding grenades and guided missiles.
alert rangeIf set it send notify when missile breaches range(but will not repulse).

* = mandatory