OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: marcus3 on 01 Nov 2005, 22:23:35
-
what is the name of the Sport car and Other cars in ofp? like p3scive and stuff? i need it for the createunit command
thanks!
-
I don't know but I can tell you an easy way to find out. Go into the editor and put on the map the unit you want. Save the mission, then look in mission.sqm
-
:P :o ;D
-
:thumbsup:
-
Also bear in mind the easier way :
Hint Format ["%1", typeof this]
...in the init line of the given unit ;).
-
That is neat. But you can't then copy and paste to yor own script
-
That's totally right. But you can them come up with outrageously cool lines of code, as gaudy as they're useless :
MySpawnedCar=format ["%1", typeof MyCoolCarOnTheMap] CreateVehicle getpos parking
:beat:
-
;D ;D
-
-----the following is a joke------------
see admin? why add the solve butten? if i had clicked it we would never have got this awsome info!
-------no more joke------------------------
-
Lol true, true ... that's why its always a good idea to leave a thread open for a day or two before solving it. You never know what gems may appear.