Results 1 to 3 of 3

Thread: Script to remove bodies.

  1. #1
    Can anyone point me to one for OPF

    Thanks
    Fish

    "One man's misfortune is another man's opportunity"

    2500k@4.3 | P8Z68V-Pro | 8gig dual DDR3 PC3-16000 | GTX670 | Uber2 Cougar 6816 & RCS | Saitek P8000 | 3 x 1920x1200 IPS TFT's | VAC | TeamSpeak 2/3 | TIR5 & pro clip | Flaming Cliffs | DCS BS | IL2 1946 | ARMA | ARMA II | OFP2 | Windows 7 ultimate 32bit

  2. #2
    Since no one responds..
    No link, but I can show you all that's needed.

    To each unit created, add to their init string:
    this addEventHandler ["killed",{_this exec "eventKilled.sqs"}]

    and make a small textfile named "eventKilled.sqs" and put it in your mission folder next to mission.sqm after you pasted the following lines into it:

    ;** eventKilled.sqs **
    private["_unit","_killer"]
    _unit = _this select 0
    _killer = _this select 1

    ~200
    deleteVehicle _unit
    Exit
    ;***

    Good luck.

  3. #3
    Cheers. Will give it a go.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •