Removing an item from an Array?
by Chris Dillman · in Torque Game Builder · 12/02/2005 (1:59 am) · 1 replies
Removing an item from an Array?
Say I have an array with 3 items.
Is there it possible to delte the item at spot 2
and have item 3 slide down?
Is there a way to ask an array how many items are in it?
It maybe be that arrays in T are just not arrays at all.
At least from reading the scipt docs I get that idea.
I also see people patching T with a more advanced array class.
Now Im looking to avoid that if possible for now.
Say I have an array with 3 items.
Is there it possible to delte the item at spot 2
and have item 3 slide down?
Is there a way to ask an array how many items are in it?
It maybe be that arrays in T are just not arrays at all.
At least from reading the scipt docs I get that idea.
I also see people patching T with a more advanced array class.
Now Im looking to avoid that if possible for now.
Torque Owner Scott Coursey
Yellow Duck Software
I personally use the array object, but I don't use many of its advanced features and should move away from it (keep things simpler for T2D upgrades).