OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: NoToRiOus on 24 Apr 2003, 17:30:13

Title: Bushes and Houses
Post by: NoToRiOus on 24 Apr 2003, 17:30:13
hi all
i wondert if any off you know Names of bushes and houses i got some but not of Nogova Island  ???

NoToRiOus
Title: Re:Bushes and Houses
Post by: dertn on 24 Apr 2003, 20:12:23
Hey,

I'm not sure what you mean.. But if you're trying to get the object id numbers, just press "show id" in the editor...

Me out
Title: Re:Bushes and Houses
Post by: Sui on 25 Apr 2003, 02:32:44
Provided you have OFP version 1.91, you can use a trigger like this to get the class name of any object (using it's object ID):

Trigger

Radius: 0,0
Condition: Radio Alpha
Condition Field: this
OnActivation Field: hint format ["%1",typeOf (object XXXX)]

Where XXXX is the ID number of the object you want the class name of.

With this just bear in mind that some objects (ie. bushes) don't have class names. When you try that method, no hint will pop up.
Title: Re:Bushes and Houses
Post by: Planck on 25 Apr 2003, 03:48:08
Alternatively, you could navigate your way to the Editors Depot ......Tutorials .........References.........2nd Page and Download O-PBOHous(95).zip and O-PBOTree(41).zip or indeed any of the other O-PBO Object list files there.


Planck
Title: Re:Bushes and Houses
Post by: NoToRiOus on 25 Apr 2003, 11:56:26
thxs all i will try it

NoToRiOus