Selecting Audio objects through the TGB editor?
by Richard Skala · in Torque Game Builder · 03/10/2010 (4:49 pm) · 2 replies
Is there a way to select Audio objects through the editor?
Specifically, I'd like to be able to select from a list of AudioProfile names in a Behavior field, similar to selecting a t2dSceneObject or t2dAnimatedSprite, such as:
%behavior.addBehaviorField( SoundToPlay, "Audio file description", object, "", AudioProfile );
Is this possible? Has anyone gotten this to work?
Specifically, I'd like to be able to select from a list of AudioProfile names in a Behavior field, similar to selecting a t2dSceneObject or t2dAnimatedSprite, such as:
%behavior.addBehaviorField( SoundToPlay, "Audio file description", object, "", AudioProfile );
Is this possible? Has anyone gotten this to work?
About the author
Founded in 2009, Pixel Vandals Inc. is focused on bringing fun, fresh, and new ideas to the iPhone. www.pixelvandals.com www.pixelvandals.com/vineking
Torque Owner Mike Lilligreen
T2DTutorials
www.torquepowered.com/community/blogs/view/14184