drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:




'''Comments'''
'''Comments:'''


Particle systems created by drop are client-side effects, that means they are affected by multiplayer locality.
Particle systems created by drop are client-side effects, that means they are affected by multiplayer locality.

Revision as of 11:34, 16 April 2006

back to COMREF

drop array


Operand types:

array: Array

Type of returned value:

Nothing

Description:

Drops a particle into the scene.

Array is in format ParticleArray.


Comments:

Particle systems created by drop are client-side effects, that means they are affected by multiplayer locality.

If a mission is designed for play on a dedicated server, you should consider excluding drop commands from the host for efficiency.

Through thoughtful use of MP 'spoofing', drop works just as well as camCreate.

This means you have the 'real' bullets and bombs generated on the server, while having the clients duplicate the script at the same time, only this time using harmless versions of the lethal stuff created on the server.