TGB Object Tree enhancement?...
by VcDeveloper · in Torque Game Builder · 11/21/2008 (3:15 pm) · 6 replies
In your TGE in the SimGroup Mission Tree you can name your object in World Editor Inspector. This makes it easy to locate and activate your object when you have serveral of the same type.
This should be done also in TGB Project - Object Tree. Because depending on how many objects layers you have of the same type it's frustrating to click in the same spot until you get to the one you want to edit. If there unique name were in the Object Tree you can activate and edit it much faster. Also if you have a very large world too.
This should be done also in TGB Project - Object Tree. Because depending on how many objects layers you have of the same type it's frustrating to click in the same spot until you get to the one you want to edit. If there unique name were in the Object Tree you can activate and edit it much faster. Also if you have a very large world too.
#2
7067:t2dAnimatedSprite
...and that's it, like TGE the name comes after the object type.
11/21/2008 (4:23 pm)
Uhmmm, I only see the number and the object type. Like this:7067:t2dAnimatedSprite
...and that's it, like TGE the name comes after the object type.
#3
11/21/2008 (4:34 pm)
Have you named the object?
#4
For example,
I have a Animated Fish Sprite (I'm going through the TGB:Tutorial: Fish Demo) and the only name I see attached to it is in the "Animation Builder" Name: angelfish1sheetImageMapAnimation and this name doesn't appear in the Object Tree.
I want to be able to give this Fish a unique name, so when I start adding more fish of the same Object type I want to give certain fishes different abilities.
11/21/2008 (6:20 pm)
I'm new, so, how do you name the object? For example,
I have a Animated Fish Sprite (I'm going through the TGB:Tutorial: Fish Demo) and the only name I see attached to it is in the "Animation Builder" Name: angelfish1sheetImageMapAnimation and this name doesn't appear in the Object Tree.
I want to be able to give this Fish a unique name, so when I start adding more fish of the same Object type I want to give certain fishes different abilities.
#5
11/21/2008 (7:11 pm)
Go the "script" rollout in the editor pane to see the "name" field (as well as class and superClass)
#6
P.S. I didn't notice you Posted the answer before I did. Thanks Anyway!
11/21/2008 (8:38 pm)
Well I found out how the Objects in the Object Tree get the unique names. In the Fish Game tutorial, it had me put a name in the Edit:Scripting:Name field, and I wanted to see if this showed up and it did.P.S. I didn't notice you Posted the answer before I did. Thanks Anyway!
Associate Phillip O'Shea
Violent Tulip