OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: haroon1992 on 02 Aug 2009, 12:57:22

Title: Can't create/delete objects!
Post by: haroon1992 on 02 Aug 2009, 12:57:22
I am using OFP:CWC Version 1.30 ::)

I tried to create vehicles with the "createvehicle" command : :dry:

Quote
_cobra="cobra" createvehicle position player
Quote
createvehicle ["cobra",xxx,xxx,xx,xx]

Both of the above commands don't work,,,,,i received an error message saying "unknown operator createvehicle" >:(

Its really a show stopper!
Can somebody help me?
Title: Re: Can't create/delete objects!
Post by: Planck on 02 Aug 2009, 13:26:06
I'm not 100% sure, but, didn't the createVehicle command come out after version 1.30?

Anyway, why don't you update to at least version 1.46, it costs nothing.

http://www.flashpoint1985.com/download_ofp2009.html


Planck
Title: Re: Can't create/delete objects!
Post by: haroon1992 on 02 Aug 2009, 14:13:19
i can't update to version 1.46
when i try to click the .exe of the patch
"No disk in the cd-rom" or something similar appears.............

My ofp cd' gone
Title: Re: Can't create/delete objects!
Post by: Yasirotta on 03 Aug 2009, 15:35:06
I have version 1.96 and i dont need my cd anymore to run Flashpoint Resistance.
Have you tried to patch your OFP straight to 1.96 ??

[EDIT: Oh, sorry you had CWC. My bad]
Title: Re: Can't create/delete objects!
Post by: haroon1992 on 03 Aug 2009, 15:47:34
You guys saying "createvehicle" commands come out after version 1.3?

Then,how did the official CWC campaign managed to make an artillery strike in some of the missions?

I am really out of ideas! :dunno:
Title: Re: Can't create/delete objects!
Post by: Yasirotta on 03 Aug 2009, 16:04:37
whit CamCreate perhaps ?

http://www.ofpec.com/forum/index.php?topic=10397.0
Title: Re: Can't create/delete objects!
Post by: savedbygrace on 03 Aug 2009, 21:53:44
If you can't patch, try using the setpos command with an existing unit on a nearby island. If you want explosions, yes camcreate is better because createvehicle causes lag anyways.
Title: Re: Can't create/delete objects!
Post by: haroon1992 on 04 Aug 2009, 15:27:17
This might help me,,
Thanks guys