GSC reference › Built-in
ApplyBallisticTarget()
Built-in (engine)
Server
Called on: entity
Launch a vehicle with just enough force at a target.
Signature
<entity> ApplyBallisticTarget(<targetPos>)
Called on an entity: entity ApplyBallisticTarget(...)
Parameters
| Name | Required? | Details |
|---|---|---|
| targetPos | Required | The position to launch the vehicle towards |
Example (from Treyarch's docs)
dropRaps ApplyBallisticTarget( (50,50,10) )
Real uses in BO3's scripts
Called 1 time in the decompiled scripts. A few, zombies first:
- scripts/zm/zm_siegebot_nikolai.gsc, line 1362
self applyballistictarget(var_ff72f147);
Related built-ins
- SetTurretTargetEnt()Set the target entity for this vehicle turret.
- SetTurretTargetRelativeAngles()Set the target entity for this vehicle turret.
- Target_Set()Adds a new target to draw on the hud
- ClearTargetEntity()Clears the current target for this vehicle or turret.
- Target_Remove()Removes a target
- ClearTurretTarget()Clear the target for the vehicle turret.
- IsNoTarget()Returns if the sentient is marked no target
- Target_IsTarget()Returns whether an entity has been marked as a target
- SetTurretTargetVec()Set the target position for this vehicle turret.
- missile_settarget()Sets the target of the missile to the given entity, and resets if no entity is specified.
- ClearGunnerTarget()Clear the target for the vehicle turret.
- ClearEntityTarget()Clears an AI's entity target.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).