Black Ops III

Missile_CreateAttractorEnt

Creates a missile attractor at the origin of an entity

Example:

attractor = Missile_CreateAttractorEnt( enemy_chopper, 10000, 6000 )

Parameters

ParameterSummary
*entityThe entity that is to be an 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