OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: True Immortal on 30 Sep 2002, 17:53:51

Title: Using NearestObject function
Post by: True Immortal on 30 Sep 2002, 17:53:51
How do i use it?

i've seen in the snippets section that someone used it like this:

_Shell = NearestObject[ _tank, "AT4"]

but when i tried to run it in game, it didnt work.
i'm using resistance version.

is there a way to make this function work?
Title: Re:Using NearestObject function
Post by: True Immortal on 30 Sep 2002, 18:02:00
according to the Official Command Reference it should work.

anyone know why it doesnt?
Title: Re:Using NearestObject function
Post by: Bremmer on 30 Sep 2002, 18:10:46
The nearestobject command is uggered in v1.75 I'm afraid  :(
BIS have promised a fix in the next patch.

Cheers
Title: Re:Using NearestObject function
Post by: True Immortal on 30 Sep 2002, 18:30:02
damn

any idea when that will be?