Author: djotacon
Author Website:

Requirements: No addons required

Version: 3.0

Short description: This script transform one unit in a hostage.

Date: 2017-04-21 08:56

Comments: (5)


Easy Hostage Script (E.H.S)


This script transform one unit in a hostage.
This script adds three commands to the unit:
  • Secure: Put the unit on the ground.
  • Follow: Add the unit to the player squad.
  • Free: Free the unit and unjoin from the squad.

Installation / Usage:
Add this line to run the script to the INIT of the unit to convert:
_null=[this]execVM "hostage.sqf";


Known issues:
Limitations: One single unit for scenario.


Removing all public variables
Reduced distance to actions
Code cleaned
Removed limitations (You can put more 1 hostage at the same time)

  • Removed all actions from hostage when is free.
  • Changed captive to true when the hostage is secured.

  • v1.1
  • Remove error divide by zero.
  • Code redone to avoid potential errors.
  • Tested on COOP/SP (Not tested under MP dedicated servers)
  • Code tweaks.
  • Update script path
  • Remove switchmove

  • v1.0
  • first release

  • Forum topic:
    - BI forums
    - Armaholic forums

    Enable javascript to be able to download from Armaholic please!