Starting Particle Editor
by Andy Hawkins · in Torque Game Engine · 11/07/2006 (4:25 am) · 2 replies
I can see the toggleParticleEditor in scripts bound to the 'g' key but when I press it, it wont run.
From a fresh install of 1.4 - what do I need to do, to get it to run?
Andy H.
From a fresh install of 1.4 - what do I need to do, to get it to run?
Andy H.
#2
in console.log it says...
it's looking in the wrong spot...
in common/editor/particleEditor.cs
change it to..
... and then it works.
It saves Particles to
11/07/2006 (6:35 am)
Found the error...in console.log it says...
Missing file: common/editor/ParticleEditor.gui! creator/editor/particleEditor.cs (30): Unable to find object: 'ParticleEditor' attempting to call function 'initEditor' creator/editor/particleEditor.cs (32): Unable to find object: 'ParticleEditor' attempting to call function 'startup' pushDialog(): Invalid control: ParticleEditor
it's looking in the wrong spot...
in common/editor/particleEditor.cs
function toggleParticleEditor(%val)
{
...
if (!isObject(ParticleEditor))
{
exec("common/editor/ParticleEditor.gui"); <----- here's the error
ParticleEditor.initEditor();
}
ParticleEditor.startup();
...
}change it to..
exec("./ParticleEditor.gui"); <----- removes folder dependancy... and then it works.
It saves Particles to
example\creator folder
Torque Owner Rex
BrokeAss Games