SetGroup()/getGroup() still supported?
by Wes · in Torque Game Builder · 07/17/2008 (7:15 am) · 3 replies
I have a sprite placed manually in the scene through the level editor.
Settings:
Layer = 1
Group = 2
Scripting > Name = testBlock1
Console output when I test the level:
==>echo(testBlock1.getGroup());
-1
==>testBlock1.setGroup(3);
(0): Unknown command setGroup.
Object testBlock1(1369) testBlock1 -> t2dStaticSprite -> t2dSceneObject -> BehaviorComponent -> DynamicConsoleMethodComponent -> SimComponent -> SimObject
Are getGroup() and setGroup() no longer working (1.7.3)?
If not, what have they been replaced with?
Thanks.
Settings:
Layer = 1
Group = 2
Scripting > Name = testBlock1
Console output when I test the level:
==>echo(testBlock1.getGroup());
-1
==>testBlock1.setGroup(3);
(0): Unknown command setGroup.
Object testBlock1(1369) testBlock1 -> t2dStaticSprite -> t2dSceneObject -> BehaviorComponent -> DynamicConsoleMethodComponent -> SimComponent -> SimObject
Are getGroup() and setGroup() no longer working (1.7.3)?
If not, what have they been replaced with?
Thanks.
About the author
#2
Thanks Gavin.
For future reference, where would I go to find out about changes like this as they happen?
07/17/2008 (8:07 am)
Good advice... it looks like graphGroup is the mystery guest.Thanks Gavin.
For future reference, where would I go to find out about changes like this as they happen?
#3
07/17/2008 (11:42 am)
If i am honest, i just look out for the posts here to see what is new, past that i wouldnt know i'm afraid
Torque 3D Owner Gavin Beard
Byte Logic