drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (added links)
Line 28: Line 28:
'''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 ([[local]]) effects, that means they are affected by [[Locality_in_Multiplayer|multiplayer locality]].


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

Revision as of 17:13, 25 July 2006


drop array


Operand types:

array: Array

Type of returned value:

Nothing

Compatibility:

Added in version 1.50

Description:

Drops a particle into the scene.

Array is in format ParticleArray.


Comments:

Particle systems created by drop are client-side (local) 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.