laserTarget – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
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? ==
<dl class="command_description">
<dd class="notedate">Posted on August 17, 2012 - 18:52 (UTC)</dd>
<dt class="note">[[User:Franze|Franze]]</dt>
<dd class="note">
You can only get a unit's lasertarget if it is local to you.
</dd>
</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)

Revision as of 11:01, 15 November 2015

@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)