Missile_CreateRepulsorEnt( <entity>, <strength>, <maxDist> )

Module: Missile


Creates a missile repulsor at the origin of an entity


repulsor = Missile_CreateRepulsorEnt( enemy_chopper, 10000, 6000 );

Required Args:

  • 1 : <entity> The entity that is to be a repulsor
  • 2 : <strength> The strength of the repulsor (maximum acceleration it can apply to a missile)
  • 3 : <maxDist> The maximum distance at which the missile can be affected. The effect of the attractor falls off from <strength> to zero from the center to this distance away from the center.