setParticleFire – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Useless example without no more details!

_emitter setParticleFire [0.3,1.0,0.1]; - What could mean 0.3 for "damage in the centre of fire". max damage?, step damage each damage time??? - 1.0 core distance: this should mean 1 meter, i guess. But what is the function ? max damage from 0 to core distance then no more damage beyond? In other words, what if unit is at 2 meters from centre? No damage at all? - 0.1 how often is unit getting damage. in seconds? so, every 0.1 sec? then 0.3 * 0.33 sec should kill a healty unit if it stays within 1 meter? Right?

A far better explanation on what has sprouted in dev's brain would be welcome!