0
0

our system requires the event name to be defined by numbers,
such as 130000,130001,130002.
however this method is inconvenient for my use, if this name could be showed in english in Events Tab? :)

  • You must to post comments
0
0

I don’t really understand what you’re asking for, sorry. Could you describe what you need in more detail?

  • You must to post comments
0
0

[quote="ben":1ps50fc3]I don’t really understand what you’re asking for, sorry. Could you describe what you need in more detail?[/quote:1ps50fc3]

sorry for my English,
the program requires the soundeffect name to be defined by numbers(in Fmod Designer —- Events tab—Hierarchy,the name is defined by numbers)
however this method is inconvenient for my use, if this name could be showed in english in Events Tab? 😮

  • You must to post comments
0
0

Ok, it sounds like you want to have an English name displayed in the Events tab, but use a number to get the event in your program. Why do you need to do this? Are you trying to save memory?

Do the numbers have to be in the format you showed (130000, 130001, 130002 etc.)? If not, can you use the event GUID (shown in the event property sheet) with EventSystem::getEventByGUID?

Another possibility is to add an ID user property to each event (right-click the event property sheet and select "Add/Edit user properties…"). Your program could retrieve these user properties after loading the FEV and build a table that maps from ID to event name or similar. This would use more memory to store the user properties, however.

  • You must to post comments
0
0

[quote="ben":18wnldve]Ok, it sounds like you want to have an English name displayed in the Events tab, but use a number to get the event in your program. Why do you need to do this? Are you trying to save memory?

Do the numbers have to be in the format you showed (130000, 130001, 130002 etc.)? If not, can you use the event GUID (shown in the event property sheet) with EventSystem::getEventByGUID?

Another possibility is to add an ID user property to each event (right-click the event property sheet and select "Add/Edit user properties…"). Your program could retrieve these user properties after loading the FEV and build a table that maps from ID to event name or similar. This would use more memory to store the user properties, however.[/quote:18wnldve]

Ok, it sounds like you want to have an English name displayed in the Events tab, but use a number to get the event in your program. Why do you need to do this? Are you trying to save memory?

[b:18wnldve]yes,I want to have English name displayed,but the programmer tell me,I can only use numbers….I am a sound designer,not a programmer,I don’t know why….[/b:18wnldve]

Do the numbers have to be in the format you showed (130000, 130001, 130002 etc.)? If not, can you use the event GUID (shown in the event property sheet) with EventSystem::getEventByGUID?
[b:18wnldve]Get it,thank you~[/b:18wnldve]

Another possibility is to add an ID user property to each event (right-click the event property sheet and select "Add/Edit user properties…"). Your program could retrieve these user properties after loading the FEV and build a table that maps from ID to event name or similar. This would use more memory to store the user properties, however. 😥

  • You must to post comments
0
0

[quote="blaze1999":1cxttf6t][b:1cxttf6t]yes,I want to have English name displayed,but the programmer tell me,I can only use numbers….I am a sound designer,not a programmer,I don’t know why….[/b:1cxttf6t][/quote:1cxttf6t]
Could you get your programmer to tell us why you can only use numbers? We may be able to suggest a solution that works for both of you.

Another possibility is to use the event project IDs from the programmer report. If you check "Build programmer report (.TXT)" in the Build dialog, Designer will output a .txt file next to your .fev (e.g. if you have examples.fev, the programmer report will be examples.txt). This file lists all the events in your project by name. It also gives an Id for each event, which can be used with EventProject::getEventByProjectID to get that event.

Your programmer could create a script that parses the programmer report and translates event names into project IDs. This would allow you to use english event names while the program identifies events with numbers. This method would not use any extra memory.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.