Home   Help Search Login Register  

Author Topic: typeof object ID doesn't work anymore?  (Read 1274 times)

0 Members and 1 Guest are viewing this topic.

Offline Blanco

  • Former Staff
  • ****
typeof object ID doesn't work anymore?
« on: 14 Mar 2007, 18:44:20 »
In OFP I always use this code to return the classname of an object on the map.

Quote
hint format ["%1",typeof (object xxxxxxx)

xxxxxxx is the ID. It doesn't work in Arma...  :confused:

Any ideas?
 
« Last Edit: 15 Mar 2007, 09:44:21 by Blanco »
Search or search or search before you ask.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: typeof object ID doesn't work anymore?
« Reply #1 on: 14 Mar 2007, 18:47:54 »
Quote
Any ideas?
Search  :D

For example
Object ID Help
Move to object

In short, the command object is not available in ArmA due to the streaming technology used..

Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: typeof object ID doesn't work anymore?
« Reply #2 on: 14 Mar 2007, 19:35:23 »
Use typeOf nearestobject giving the closest position to the desired object.