Results 1 to 3 of 3

Thread: SetDamage 1 a few seconds after leaving vehicle

  1. #1

    SetDamage 1 a few seconds after leaving vehicle

    I tried to look for a thread about this, but I had no idea of what to search.

    I'm making a mission where you get shot down by AA pods, the Halo addaction is working, but I have another problem now:
    To make the mission more "cinematic" and epic, I want the plane to explode seconds after leaving it. Simply inserting a SetDammage waypoint won't work, the mission isn't "on-rails", I mean, I've no Idea of where will the plane be shot down. Does ArmA offer some kind of timeout count, or something like that? Some kind of time related command?
    I already tried a trigger that sets the damage to 1 if the player is not on the plane, but It obviously exploded as soon as I got out and killed me. I hope you understood what I'm looking for.

    (sorry for my bad english)

  2. #2
    You almost had it! Go to your trigger that setDammage 1's the plane once the player leaves. In the middle of the trigger window, there are 3 small text fields labeled Min, Mid, and Max. These values are timers (in seconds) that the trigger counts to before activating once its conditions are met. Put the number of seconds you want for the delay in all 3 boxes (or different values if you want it randomized) and give it a whirl. Also, there is a Countdown and Timeout option right above the Min box. I cannot remember if these are vital to what you are trying to accomplish, so you may need to play with those 2 options.

    Try that, and if for some reason it does not work you can always execVM a .sqf file from a trigger that activates when the player leaves the plane. In the .sqf you would have the plane setDammage 1 following a sleep 3; or whatever your desired delay may be.

    That's the fun part of editing ArmA. Options, options, options.


  3. #3
    Rookie
    Join Date
    Jun 18 2011
    Location
    Brazil
    Posts
    4
    Author of the Thread
    Thanks a lot!

Similar Threads

  1. Setdamage to groups?
    By Thats_Life 2.0 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 9
    Last Post: Mar 18 2011, 12:30
  2. Light turns on when leaving vehicle?
    By ck911 in forum ARMA 2 & OA - TROUBLESHOOTING
    Replies: 0
    Last Post: Jul 14 2010, 16:31
  3. How to use SetDamage?
    By thaFunkster in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 7
    Last Post: Feb 18 2010, 08:12
  4. setdamage only 1 or 0 ?
    By Pappy60 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 10
    Last Post: Sep 29 2009, 21:36
  5. Leaving vehicle
    By DestroyerX in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: May 2 2003, 11:54

Posting Permissions

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