kadinx 12 Posted November 22, 2014 I have added and playing successfully music on my custom endings of my missions. I need to display the "Name" of the song as it is shown under "name" in the Description.ext entries. for example: I have this entry under my class CfgMusic class Southbound_Again_Dire_Straights { name = "Southbound Again by Dire Straights"; sound[] = {"\music\Southbound_Again_Dire_Straights.ogg", db+0, 1.0}; }; I need to show on screen "Soundbound Again by Dire Straights" I have successfully managed to show "Southbound_Again_Dire_Straights" which is the class name. Is there a certain command that would display the NAME of the song as opposed to the CLASS name of the song? Share this post Link to post Share on other sites
A.Cyprus 16 Posted November 22, 2014 Not having tested this particular case myself but perhaps something like the below would work for you: https://community.bistudio.com/wiki/getText (read the notes at the bottom) Share this post Link to post Share on other sites
killzone_kid 1326 Posted November 22, 2014 [color="#FF8040"][color="#191970"][b]getText[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#191970"][b]missionConfigFile[/b][/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"CfgMusic"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#1874CD"]_musicClass[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"name"[/color][color="#8B3E2F"][b])[/b][/color][color="#8B3E2F"][b];[/b][/color][/color] Made with KK's SQF to BBCode Converter should do Share this post Link to post Share on other sites
das attorney 857 Posted November 22, 2014 Like A.Cyprus says do a getText _brummies = getText(missionConfigFile / "CfgMusic" / "Southbound_Again_Dire_Straights" / "name"); Untested but it should do it. Share this post Link to post Share on other sites
kadinx 12 Posted November 22, 2014 (edited) Here is what I got: -A response within 15 minutes -A Perfect solution to my quest -New knowledge that I could use to further my Arma creation :) Guys you are GOLDEN. Much appreciation and ...respek ;) Edited November 22, 2014 by KadinX Share this post Link to post Share on other sites