Template:I BaseHelicopter

From Valve Developer Community
Jump to: navigation, search

{{{bms}}} - if 1, hides inputs not available in Black Mesa.

If no params or bms=0

BaseHelicopter
MoveTopSpeed
The helicopter will immediately move at top speed toward its current goal, or in its current orientation if it's on top of its goal.
MoveSpecifiedSpeed <float>
The helicopter will immediately move at the specified speed (you provide this as parameter override in units per second) towards its current goal.
ChangePathCorner <targetname>
Tell the helicopter to move to a path corner on a new path.
SelfDestruct
Self Destruct.
Activate
Activate. Use to wake up a helicopter that spawned with the 'Await Input' spawnflag on.
SetTrack <targetname>
Set a track for the helicopter to adhere to. The helicopter will do nothing if it's on the same path, and will move to the closest point on the specified track if it's on a different path.
FlyToSpecificTrackViaPath <targetname>
The helicopter will first fly to the closest point on the path if it's on a different path. Then it'll fly along the path to the specified track point.
FlyToPathTrack <targetname>
The helicopter will fly to the given path_track.
StartPatrol
Start patrolling back and forth along the current track.
StopPatrol
Stop patrolling back and forth along the track. This will cause the helicopter to come to rest at the track which he's currently flying toward.
ChooseFarthestPathPoint
When tracking an enemy, choose the point on the path furthest from the enemy, but still in firing range.
ChooseNearestPathPoint
When tracking an enemy, choose the point on the path nearest from the enemy.
StartBreakableMovement
The helicopter is now allowed to disobey direct commands to go to particular points if it senses an enemy. It will move to the closest point (or farthest point, if ChooseFarthestPathPoint is used), on the path if it senses an enemy.
StopBreakableMovement
The helicopter can no longer disobey direct commands. It will continue to fly along it's patrol path or to it's specified target even if it senses an enemy.
EnableRotorSound
Starts the chopper's rotors making noise (normal behaviour)
DisableRotorSound
Stops the noise made by the rotors
EnableRotorWash
Makes the chopper exert a force on physics objects underneath its rotor, and produce a wind pattern on any water (normal behaviour)
DisableRotorWash
Turns off the forces and wind pattern
SetAngles  !FGD
InputStartLeading  !FGD
InputStopLeading  !FGD
GunOn
Allows the chopper to use its gun (normal behaviour)
GunOff
Prevents the chopper from using its gun
MissileOn
Starts the chopper firing rockets
Icon-Bug.pngBug:Non-functional.  [todo tested in?]
MissileOff
Stops the chopper firing rockets
Icon-Bug.pngBug:Non-functional.  [todo tested in?]

If bms=1

BMBaseHelicopter
MoveTopSpeed
The helicopter will immediately move at top speed toward its current goal, or in its current orientation if it's on top of its goal.
MoveSpecifiedSpeed <float>
The helicopter will immediately move at the specified speed (you provide this as parameter override in units per second) towards its current goal.
ChangePathCorner <targetname>
Tell the helicopter to move to a path corner on a new path.
SelfDestruct
Self Destruct.
Activate
Activate. Use to wake up a helicopter that spawned with the 'Await Input' spawnflag on.
SetTrack <targetname>
Set a track for the helicopter to adhere to. The helicopter will do nothing if it's on the same path, and will move to the closest point on the specified track if it's on a different path.
FlyToSpecificTrackViaPath <targetname>
The helicopter will first fly to the closest point on the path if it's on a different path. Then it'll fly along the path to the specified track point.
FlyToPathTrack <targetname>
The helicopter will fly to the given path_track.
StartPatrol
Start patrolling back and forth along the current track.
StopPatrol
Stop patrolling back and forth along the track. This will cause the helicopter to come to rest at the track which he's currently flying toward.
ChooseFarthestPathPoint
When tracking an enemy, choose the point on the path furthest from the enemy, but still in firing range.
ChooseNearestPathPoint
When tracking an enemy, choose the point on the path nearest from the enemy.
StartBreakableMovement
The helicopter is now allowed to disobey direct commands to go to particular points if it senses an enemy. It will move to the closest point (or farthest point, if ChooseFarthestPathPoint is used), on the path if it senses an enemy.
StopBreakableMovement
The helicopter can no longer disobey direct commands. It will continue to fly along it's patrol path or to it's specified target even if it senses an enemy.
EnableRotorSound
Starts the chopper's rotors making noise (normal behaviour)
DisableRotorSound
Stops the noise made by the rotors
EnableRotorWash
Makes the chopper exert a force on physics objects underneath its rotor, and produce a wind pattern on any water (normal behaviour)
DisableRotorWash
Turns off the forces and wind pattern
SetAngles  !FGD
InputStartLeading  !FGD
InputStopLeading  !FGD