drop

From Bohemia Interactive Community
Revision as of 06:30, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.