Jump to content
Sign in to follow this  
mad rabbit

camCreate vs createVehicle

Recommended Posts

Quick Question:

In regards to "camCreate" and "createVehicle"...

What's the difference between using these commands in a multiplayer map or any map for that matter?

In other words, when would you use one command instead of the other?

i.e. I see a lot of people use camCreate for creating shells in mid-air and createVehicle for creating a plane in mid-air, but you can use the two commands in both settings inter-changably to the best of my knowledge.

-------------

Just wondering as I've been working on a CTI for about 2 years now and I've always used createVehicle...

Share this post


Link to post
Share on other sites

camCreate works only on the client it is executed on. Remembers, cutscenes are always played locally. So if you use camCreate to create a vehicle, it will only be created on the clients you run the command on. Not so with createVehicle.

Also, camCreating a unit causes a little delay in the usability of the vehicle (unless you make use of the reveal command, if I'm not mistaken). Means, if you use camCreate to create a vehicle, the player first has to "see" the vehicle (actually that takes a couple of seconds) until you can get in. I think that problem doesn't appear when using createVehicle.

Of course the behaviour of camCreate can be useful, e.g. if you want to create some object only on one computer.

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  

×