OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: sgtGunneryHighway on 13 Oct 2002, 03:14:37

Title: NeArEsToBjEcT???
Post by: sgtGunneryHighway on 13 Oct 2002, 03:14:37
i have some difficult to use "nearestobject" command someone can help me? ???
Title: Re:NeArEsToBjEcT???
Post by: Black_Feather on 13 Oct 2002, 04:06:17
it doesn't wrok in 1.75 so I might get this wrong but it goes like this

_thing  = nearestObject [player, "jeep"]

that should find the nearest jeep to the player.
Title: Re:NeArEsToBjEcT???
Post by: sgtGunneryHighway on 13 Oct 2002, 13:23:59
thanks m8 but if he dont work in resistance forget about it ::)