When you rename a Sound Resource it changes it's name in the inventory. But, if you have a script that uses that Sound Resource and do a GetName on the Sound Resource it still has the old name. Even though when you configure the script and select the script from inventory in the drop down it shows the new name. Very confusing. A rename should use the new name in the script.
Date
Votes
1 comment
-
Kelly - Sansar The script API for getting a SoundResource's name is going to be deprecated. It can not be made to work as would be expected.
Resources are created on upload, and for sound resources a name is applied to the resource. Scripts only know about resources.
Inventory items are essentially shortcuts or references to Resources. Renaming the inventory item does not affect the Resource.
Please sign in to leave a comment.