getHideFrom – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
From the few tests I've done, this function always returned me [0,0,0]. Has anyone been able to get a correct result?--[[User:Whisper|Whisper]] 17:21, 10 April 2007 (CEST)
From the few tests I've done, this function always returned me [0,0,0]. Has anyone been able to get a correct result?--[[User:Whisper|Whisper]] 17:21, 10 April 2007 (CEST)
:I got a result. But the only result I got, is the position from the enemy... not very helpful.
:Friendly Unit: fu1, Enemy: e1
:<code>hidepos = fu1 gethidefrom e1;</code>
:Now hidepos = (getpos e1). Not exactly the same... but very close!
:And nothing to find about it in the www... that's hard...
:--[[User:HeliJunkie|HeliJunkie]] 10:47, 4 December 2008 (CET)

Revision as of 11:47, 4 December 2008

From the few tests I've done, this function always returned me [0,0,0]. Has anyone been able to get a correct result?--Whisper 17:21, 10 April 2007 (CEST)

I got a result. But the only result I got, is the position from the enemy... not very helpful.
Friendly Unit: fu1, Enemy: e1
hidepos = fu1 gethidefrom e1;
Now hidepos = (getpos e1). Not exactly the same... but very close!
And nothing to find about it in the www... that's hard...
--HeliJunkie 10:47, 4 December 2008 (CET)