T3D 1.1 Preview PlayGui::onWake() Callbacks Do Not Function - not a bug - RESOLVED
by Steve Acaster · in Torque 3D Professional · 05/10/2011 (5:53 am) · 2 replies
T3D 1.1 Preview
win7 32bit
target:
PlayGui onWake callback
issue:
The onWake callback for PlayGui does not work.
It does not work in previous versions either, so not sure if this is on purpose - in which case it is not a bug - but I would have expected it to work like other *.gui files.
NOTE: onSleep() does not function either
repeat:
Open up art/gui/PlayGui.gui and at the bottom append this function.
Save, start up T3D, load a mission see playGui start, check the console, confirm that no echo is visible, discern that the function was not called. In the console type:
Suggest:
If there is no specific reason for PlayGui not to have this callback -> fix it!
If there is a specific reason for PlayGui not to have this callback -> mark this report's title as "not a bug"
SOLUTION:
Problem was between chair and keyboard ...
win7 32bit
target:
PlayGui onWake callback
issue:
The onWake callback for PlayGui does not work.
It does not work in previous versions either, so not sure if this is on purpose - in which case it is not a bug - but I would have expected it to work like other *.gui files.
NOTE: onSleep() does not function either
repeat:
Open up art/gui/PlayGui.gui and at the bottom append this function.
function PlayGui::onWake(%this)//not working
{
echo("*************PlayGui::onWake***************** you won't see this in the console");
}Save, start up T3D, load a mission see playGui start, check the console, confirm that no echo is visible, discern that the function was not called. In the console type:
playgui.dump();Hit return and scroll down to the bottom and see that it claims to have the callback "onWake".
Suggest:
If there is no specific reason for PlayGui not to have this callback -> fix it!
If there is a specific reason for PlayGui not to have this callback -> mark this report's title as "not a bug"
SOLUTION:
Problem was between chair and keyboard ...
About the author
One Bloke ... In His Bedroom ... Making Indie Games ...

Associate Scott Burns
GG Alumni