Jump to content
Sign in to follow this  
ManDay

camCreate doesn't work - why?

Recommended Posts

I cannot figure out. Has been awhile since I used camCreate on some effect last time but as far as I can remember: It worked all fine.

No, I already realized working on my last Mission creating a smokeshell i.e. with

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">smokeshell1 = "SmokeShellGreen" camCreate pos1;

does never show me a smokeshell. I actually didn't care because it was just a little SFX and I though it will work out someday anyway. But now I got into the position where it's just essential to create a object via camCreate.

I tried several things like "SoldierWSaboteurPipe" camCreate pos1 or something but it never (regardless what object I wish to create) works.

Something changed there?

Share this post


Link to post
Share on other sites

Dunno, maybe camCreate only works with cams now. Try createVehicle and the new createVehicleLocal command. wink_o.gif

Share this post


Link to post
Share on other sites

unfortunally, a unit (like a soldier) created with createVehicle is automaticly fit to ground which wont work for me wink_o.gif

Share this post


Link to post
Share on other sites
unfortunally, a unit (like a soldier) created with createVehicle is automaticly fit to ground which wont work for me wink_o.gif

Then explain what you want to do... tounge2.gif

You can also use createVehicle(Local) for static objects.

Share this post


Link to post
Share on other sites

In short: I want to spawn a soldier (not an actual unit - just the 'body' of one) in air.

Share this post


Link to post
Share on other sites

<--I correct it--->

not true. Only the procedure of creation fits the unit to ground. SetPos works fine on all objects.

thnaks

Share this post


Link to post
Share on other sites

I forgot:

Once in OFP i remember I created a camera but the Player was still able to move and act.

I wont try the disableUserInput-command again because i remember it to freeze my computer (cannot press any key but the scenario is still running).

Anyone who remembers how to have a active camera but the player still able to act?

Share this post


Link to post
Share on other sites

If you have disableUserInput true or what ever at the start of the camera ALWAYS have disableUserInput false at the end.. or you will run into a problem and have to reset your PC ^^ i did it the first time and was like wtf..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×