ArmA 3 Alpha: Scripting an assassination plot for single player missions with consequences for killing civilians


March 10th, 2013

Overview

In this scenario, the player must assassinate an OPFOR General and confirm his death by checking his body. The player must not kill more than 3 civilians in the process.

If the player kills a civilian, a warning message is displayed showing how many civilians the player has killed and how many kills they are allowed left before the mission ends. If the player kills 3 civilians, the game ends. If the player confirms the General’s death the game goes on, but will still end if the player kills 3 civilians.

ArmA 3 Alpha: Scripting an assassination plot with consequences for killing civilians

In the Editor

  1. Create a BLUFOR spawn
  2. Create a single OPFOR unit with a name of “Target_General”
  3. Place a minimum of 3 civilians.

Other units can be added if desired.

Mission Files

Download mission files: Arma 3 – Scriping an assassination plot.zip

Create or extract the files to your mission folder.
Read more on where to find mission files in the biki.

init.sqf

confirmDeath.sqf

Share this post