laserTarget – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
Line 1: Line 1:
@DarkWanderer, I don't think this is true: "Returns [0,0,0] if no target is present"
@DarkWanderer, I don't think this is true: "Returns [0,0,0] if no target is present"
From what I experienced in A3 is laserTarget returns a null object. What you probably are experiencing is getPos of a null object returns [0,0,0]
From what I experienced in A3 is laserTarget returns a null object. What you probably are experiencing is getPos of a null object returns [0,0,0]
:I've corrected DarkWanderer's note, thanks for pointing this out [[User:Killzone Kid|Killzone Kid]] ([[User talk:Killzone Kid|talk]]) 01:45, 15 November 2015 (CET)
:I've corrected DarkWanderer's note, thanks for pointing this out [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 01:45, 15 November 2015 (CET)


== Laser target is local? ==
== Laser target is local? ==
Line 14: Line 14:
</dl>
</dl>


:Cannot confirm this, maybe this was the case in early Arma, hence leaving the note here [[User:Killzone Kid|Killzone Kid]] ([[User talk:Killzone Kid|talk]]) 10:01, 15 November 2015 (CET)
:Cannot confirm this, maybe this was the case in early Arma, hence leaving the note here [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 10:01, 15 November 2015 (CET)

Latest revision as of 13:48, 12 March 2024

@DarkWanderer, I don't think this is true: "Returns [0,0,0] if no target is present" From what I experienced in A3 is laserTarget returns a null object. What you probably are experiencing is getPos of a null object returns [0,0,0]

I've corrected DarkWanderer's note, thanks for pointing this out Killzone_Kid (talk) 01:45, 15 November 2015 (CET)

Laser target is local?

Posted on August 17, 2012 - 18:52 (UTC)
Franze
You can only get a unit's lasertarget if it is local to you.
Cannot confirm this, maybe this was the case in early Arma, hence leaving the note here Killzone_Kid (talk) 10:01, 15 November 2015 (CET)