drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|D]]
[[Category:Scripting Commands ArmA|D]]


back to [[Scripting_Reference#D|COMREF]]


<h2 style="color:#000066">'''drop ''array'''''</h2>
<h2 style="color:#000066">'''drop ''array'''''</h2>

Revision as of 12:56, 23 April 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 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.