GSC reference › Built-in
SetHoverParams()
Built-in (engine)
Server
Vehicle Called on: vehicle
Set the hovering parameters.
Signature
<vehicle> SetHoverParams(<radius>, [speed], [accel])
Called on an entity: vehicle SetHoverParams(...)
Parameters
| Name | Required? | Details |
|---|---|---|
| radius | Required | The hovering range. |
| speed | Optional | Speed to hover at (MPH) |
| accel | Optional | Acceleration to hover at (MPH/s) |
Example (from Treyarch's docs)
self SetHoverParams( 50, 1, 0.5 )
Real uses in BO3's scripts
Called 22 times in the decompiled scripts. A few, zombies first:
- scripts/shared/vehicle_shared.gsc, line 2517
self sethoverparams(0, 0, 10); - scripts/shared/vehicles/_counteruav.gsc, line 61
self sethoverparams(50, 100, 100); - scripts/shared/vehicles/_dragon_whelp.gsc, line 72
self sethoverparams(self.radius, self.settings.defaultmovespeed * 2, self.radius); - scripts/shared/vehicles/_glaive.gsc, line 67
self sethoverparams(0, 0, 40); - scripts/shared/vehicles/_hunter.gsc, line 219
self sethoverparams(15, 100, 40);
Related built-ins
- SetJitterParams()Set the jitter parameters.
- SetPhysParams()Sets the collision bounds for an actor.
- ClearAlternateAimParams()Forces the local player to use default values for aim assist.
- RenderHealthOverlayHealth()Returns the whether the health overlay health ratio
- UseAlternateAimParams()Forces the local player to use alternate values for aim assist.
- RenderHealthOverlay()Returns the whether the health overlay should be rendered or not
- SetWaterDisturbanceParams()Sets parameters describing the water disturbance created by the (script mover) entity
- GetHealthOverlayTime()Returns the time the health overlay has been on
- SetVehGoalPos()Set the target position for this vehicle.
- SetSpeed()Sets the speed and acceleration for this vehicle.
- GetVehicleNode()Gets a vehicle node with the given name, key pair
- ClearVehGoalPos()Clears the target position for this vehicle.
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).