Jump to content

Scimitar-49th

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Scimitar-49th

  • Rank
    Rookie
  1. Thank you my friend, you saved my day. I was messin' araound with this stuff for hours unable to find the problem, because actually there was no problem. Thanks for this information :)
  2. It seems that the "LaserTargetW, E, Base and stuff, not working properly. For now its not possible to get values directly by typing in classnames/typenames in the nearObjects Filter. The sidestep over the nearTargets command is working for me. Just a search and break condition to "LaserTargetWBase" is needed. I solved it meanwhile by using the "in array" check. Scimi
  3. Hi I'm running wild in trying to get this LaserTarget to run. Problem: AH1Z shall fire at laserdot ...pretty simple so far.. LaserTargetW, E or something.. just returns the address of the position, not the real position.. example: heli nearObjects["LaserTargetW",500] returns : [183e8800# 1055220: lasertgt.p3d] nothing I can handle with in Arma2 BUT: heli nearTargets 500 returns : [[[5226.58,8629.57,5.91382],"LaserTargetWBase",EAST,1e+015,183e8800# 1055220: lasertgt.p3d,0],[[5128.11,8647.91,1.17307],"T72_Gue",CIV,-999988,1952a400# 1055169: t72.p3d,0],[[5097.65,8638.91,1.19815],"T90",CIV,-999988,1951d800# 1055168: t90.p3d,0], ..and so on..lots of further targets... Point your eyes on the very first entry of the above Array : [[5226.58,8629.57,5.91382],"LaserTargetWBase",EAST,1e+015,183e8800# 1055220: lasertgt.p3d,0] And within this array's first entry: [5226.58,8629.57,5.91382] second entry: "LaserTargetWBase" .... problem solved...i thought... I can see the position of the laserpoint and its typeName(?), I can grab the values and...at this point I'm lost..i've tried almost everything to check the "LaserTargetWBase" entry with other vars, values and stuff, but I'm not able to get a hand on this LaserTarget position and play around with it. Anyone any ideas ? Edit: for now I'm running a foreach loop to check all candidates within this array. To figure out the right one I need an exit condition something like "LaserTargetWBase" == "LaserTargetWBase" (...yeah I know, but you will get the idea ;-) ). If I have this condition at the LaserTargetWBase, then I also have the correct position of this damned dot and everything is fine. Hope this is clear ...it's pretty late in germany...
×