---
name: "BIN_fnc_probeVeinHitpoint"
type: function
status: ok
groups: ["Probe"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_probeVeinHitpoint
revid: 379542
updated: 2026-10-31T13:38:06Z
---

# BIN_fnc_probeVeinHitpoint

*Function · Probe · Arma 3 v1.94*

Locality: executed with **spawn**

## Description

Reacts to a hit on a vein of the alien probe: the vein is retracted with [BIN_fnc_probeAnim](../functions/BIN_fnc_probeAnim.md) (retract sound, the looping sound fades out and is deleted), and after a delay it is expanded again (expand sound, a new looping sound is created).
The delay is 4 seconds by default and can be changed by setting the variable "bin_probe_retractTime" on the probe itself.
The function does nothing if the hit part index is -1.

Its parameters match the [Dammaged](../topics/Event_Handlers.md#dammaged) event handler, from which it is meant to be executed; no other Contact function calls it. As it uses [sleep](../commands/sleep.md), it must run in a [scheduled environment](../topics/Scheduler.md#scheduled-environment).

> [!NOTE]
> This content is exclusive to the Arma 3 Contact Expansion.

## Syntax

```sqf
[probe, selection, damage, hitIndex, hitPoint] spawn BIN_fnc_probeVeinHitpoint
```

**Parameters:**

- `probe`: [Object](../topics/Object.md) - the alien probe
- `selection`: [String](../topics/String.md) - (Optional, default "") name of the damaged selection; not used
- `damage`: [Number](../topics/Number.md) - (Optional, default 0) resulting damage; not used
- `hitIndex`: [Number](../topics/Number.md) - (Optional, default -1) hit part index of the damaged hitpoint; the function exits if it is -1
- `hitPoint`: [String](../topics/String.md) - (Optional, default "") hitpoint name; not used

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
myProbe setVariable ["bin_probe_retractTime", 10]; // keep the vein retracted for 10 seconds
myProbe addEventHandler ["Dammaged", { _this spawn BIN_fnc_probeVeinHitpoint }];
```

## See also

[BIN_fnc_probeAnim](../functions/BIN_fnc_probeAnim.md) · [BIN_fnc_probeHitpoint](../functions/BIN_fnc_probeHitpoint.md)

<sub>Source: [BI Community Wiki — BIN fnc probeVeinHitpoint](https://community.bistudio.com/wiki/BIN_fnc_probeVeinHitpoint) (revision 379542).</sub>
