Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Projectile Time to Live Listing.  (Read 1507 times)

0 Members and 1 Guest are viewing this topic.

Offline TheArgyll

  • Members
  • *
Projectile Time to Live Listing.
« on: 16 Sep 2007, 16:01:27 »
Can anyone give me a link to a table of Projectile Time to Live times ?
Thanks.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Projectile Time to Live Listing.
« Reply #1 on: 16 Sep 2007, 19:56:20 »
No idea, but to test them add the following to the init field of any unit or vehicle which weapons are handled by the player:

Code: [Select]
this addEventHandler ["Fired", {_tini = daytime;_round = nearestObject [_this select 0, _this select 4]; [_round, _tini, _this select 4] spawn{waitUntil{isNull (_this select 0)};hint format["%1: %2 secs", _this select 2, (daytime - (_this select 1))*3600]};}]
Fire any weapon pointing high and the even will give you an accurate value. Note that ammos with high drop rate might hit the ground before being erased by ArmA even firing them up vertically.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Projectile Time to Live Listing.
« Reply #2 on: 16 Sep 2007, 20:39:18 »
Here you go, not just for projectiles, but for anything that has it defined in the configs.


Planck
« Last Edit: 21 Aug 2009, 15:45:44 by hoz »
I know a little about a lot, and a lot about a little.

Offline TheArgyll

  • Members
  • *
Re: Projectile Time to Live Listing.
« Reply #3 on: 16 Sep 2007, 21:11:50 »
Thanks guys much appreciated.