OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: RolsRois on 28 Oct 2005, 21:02:40

Title: It's a very simple question
Post by: RolsRois on 28 Oct 2005, 21:02:40
can someone tell me the names of the buldings in editor update 1.2?i meen for the use of createunit command,if u do, gimme a link plz
Title: Re:It's a very simple question
Post by: THobson on 28 Oct 2005, 21:07:18
What you should do is create a new mission that only has the building you want in it.  Save the mission.  Then use a text editor to look in the mission.sqm file to find the name of the building.  You could probaly do something with hints and nearestObject.  This way you get  a name you can copy and paste to your script.
Title: Re:It's a very simple question
Post by: RolsRois on 28 Oct 2005, 21:45:55
thanks, that's the only way? bummer