T3D 1.1 beta 3 - Data Editor -> ProjectileData -> Clear ParticleEmitter Causes Script Error - CONFIRMED
by Steve Acaster · in Torque 3D Professional · 09/21/2010 (8:51 pm) · 2 replies
T3d 1.1 beta 3
win7
Target:
Editors -> Data Editor -> ProjectileData and probably ShapeBaseImageData too (but I didn't test that as well).
Issue:
When using the Data Editor to clear the particleEmitter of a projectile's particle (and probably anything that uses a particleEmitter such as shapeBaseImageData), the resulting script changes causes a script error which breaks Torque with a syntax error. eg: particleEmitter = ;
Repeat:
Go into Data Editor and select a projectile (rocketlauncherProjectile), clear the particleEmitter by selecting clear/blank. Save the script and reload the level, see no weapon has appeared, check the console for the script error breaking Torque.
Suggest:
Suggest either auto commenting out when no ParticleEmitter is selected, or replace the selectable blank space with a NULL value/option with corresponding script/code dependancies to prevent errors.
win7
Target:
Editors -> Data Editor -> ProjectileData and probably ShapeBaseImageData too (but I didn't test that as well).
Issue:
When using the Data Editor to clear the particleEmitter of a projectile's particle (and probably anything that uses a particleEmitter such as shapeBaseImageData), the resulting script changes causes a script error which breaks Torque with a syntax error. eg: particleEmitter = ;
Repeat:
Go into Data Editor and select a projectile (rocketlauncherProjectile), clear the particleEmitter by selecting clear/blank. Save the script and reload the level, see no weapon has appeared, check the console for the script error breaking Torque.
Suggest:
Suggest either auto commenting out when no ParticleEmitter is selected, or replace the selectable blank space with a NULL value/option with corresponding script/code dependancies to prevent errors.
About the author
One Bloke ... In His Bedroom ... Making Indie Games ...
Full Sail QA&U Lab Intern