OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The-Architect on 13 Dec 2005, 15:22:10

Title: Find out the name of an object
Post by: The-Architect on 13 Dec 2005, 15:22:10
How do I find the name of an object?

I'm looking for the Dan ger sign from the editor. Isn't there a command which will display the name of the p3d or some such thing?
Title: Re:Find out the name of an object
Post by: nominesine on 13 Dec 2005, 16:18:04
Is this what you're looking for?

hint format["%1", typeof object xxx]

xxx is the object ID (for map objects) or object name (for editor objcts)
Title: Re:Find out the name of an object
Post by: Planck on 13 Dec 2005, 16:58:15
The p3d name IS D a n g e r!.p3d    :P

The forum software doesn't like the word "D A N G E R"

Just remove the spaces I had to insert.......stupid software!!


Planck
Title: Re:Find out the name of an object
Post by: The-Architect on 13 Dec 2005, 17:14:28
Cheers.
Title: Re:Find out the name of an object
Post by: macguba on 13 Dec 2005, 19:23:43
Fixed.   It was the "dang" that was the problem, so I've allowed it.

Danger!