OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ROBINO on 16 Sep 2003, 14:53:17
-
hi all and thanks for all the help you've given me previously.
i have noticed that for the FaQ on how to add building to your map, some of the listed 1.46 buildings have an underscore "_" as part of their name. Typing in the exact same syntax as described causes OFP to crash to desktop with "unrecognised vehicle" error message - but this only happens with building that have the underscore in their name.
Does anyone know if the syntax listed in the FaQ is incorrect in some way ?
-
I have never been able to get that god damn tut to work ... lol
Sorry no help though ;D
-
*************************
Allow me to repeat the problem --
The editor does not recognise the building names that include an underscore "_" in thier name. I am using the list of buildings and the method of planting them on the map that is described in the FAQ "buildings" section for a v1.46 editor.
its been a while now and no-one has been able to sort out this pretty serious problem. You wouldn't have guess the FAQ to be wrong but if anyone can suggest what i'm doing wrong - or make a further contribution to the FAQ it would be most welcome.
ROBINO OUT
-
If you're playing OFP version 1_46 then use the "CamCreate" command:
:D Code is:
MyHouse = "Houseafdum_mesto3" CamCreate (getpos T1)
...where "T1" is the name of a trigger (in where you could put the code). ::)
Not all buildings have underscores though.... some use "Dum03" Dum09" etc. :)
It's the CLASS NAME we must use (not the model name) of a building/vehicle.
In OFP 1.75+ most people use "CreateVehicle" instead of "CamCreate"