Jump to content

Mike84

Member
  • Content Count

    208
  • Joined

  • Last visited

  • Medals

Posts posted by Mike84


  1. Found out what problem was with shtrum not targetting tanks. If tanks engine is off in it wont target it, might be like heat system.

    That shouldn't be the case. The shturm is a radio guided saclos missile, which is means it's targeted by a human and guided by a computer.

    If you can reproduce that behaviour, you should probably report it as a bug.


  2. Everything about missiles in arma2 should definitely be changed. Right now we have radio and laser guided SACLOS atgm's, but there is no way to radio jam or even to detect the laser beam since those things are just not modeled.

    I've kinda been trying to create a system to use with the lav-25 that does those things and more, but the lack of attention to detail by BIS isn't really making it easy for me.


  3. if you mean the value 2, then use:

    _array = [ [1,2,3], ["m16","ak","g36"] ];

    _var = ((_array select 0) select 1);

    basically the parenthesis manipulate the order of precedence (what gets evaluated first (innermost first)). So first it grabs the pos (i assume) array which is the 1st element of _array (array counting starts at 0)

    [1,2,3]

    and then its grabs the 2nd element from that array

    2


  4. A lot of errors could've been prevented by following the language rules, like in sqf always end statements by a semicolon.

    a few errors worth mentioning:

    - there is no public needed, all vars without an underscore have global scope

    - the control structures are totally wrong. You need "if () then {}", and "while {} do {}". I suggest you read the biki or any sqf tutorial on this

    - there is no exit command in sqf

×