Jump to content

gorilla100

Member
  • Content Count

    45
  • Joined

  • Last visited

  • Medals

Posts posted by gorilla100


  1. I do this for rescue/arrest a unit.

    1) Create the player unit (with high degree) and call it pl1

    2) create a civillians (hostage) called civ1;civ2 ecc...

    3) create a trigger axis a-b 0-0. Act:None

    Cond: pl1 distance civ1 < 3

    On activ. _genAct= pl1 addaction [ "Arrest(or rescue)","script1.sqs" ]

    On script write

    E1 setdamage 1.0;

    sleep 5; // <- 5sec delay

    playmusic "a2";

    [civ1,civ2,] join group pl1r;

    _gen = _this select 0

    _caller = _this select 1

    _id = _this select 2

    ; remove the action once it is activated

    _gen removeAction _id

×