Skip to main content

npc_apcdriver

Point Entity

NPC used to drive an APC vehicle.

Keyvalues

  • Vehicle to drive (vehicle) <TargetDestination>

  • Spawnflags (spawnflags) <Flags>

    • Start Inactive
  • Spawnflags (spawnflags) <Flags>

    • No Rocket Attacks
    • No Gun Attacks
  • Maxspeed (percentage of vehicle's maxspeed). (drivermaxspeed) <Float>

  • MinSpeed (percentage of vehicle's maxspeed). (driverminspeed) <Float>

Inputs

  • StartFiring <Void>
    Tell the driver to attack nearby enemies with the vehicle's weaponry (if any)

  • StopFiring <Void>
    Tell the driver to stop attacking nearby enemies with the vehicle's weaponry.

  • GotoPathCorner <String>
    Tell the driver to go to a specific path corner and continue from there.

  • SetDriversMaxSpeed <Float>
    Set the Maxspeed (percentage of vehicle's maxspeed).

  • SetDriversMinSpeed <Float>
    Set the Minspeed (percentage of vehicle's maxspeed).

  • StartForward <Void>
    Tell the driver to start driving.

  • Stop <Void>
    Tell the driver to stop driving.

  • DisableFiring <Float>
    Disables firing from happening

  • EnableFiring <Float>
    Enables firing to start. Firing is enabled by default