Calling events as string

Hi!

You will either need the event’s path, or its GUID, to play the event. There’s no way to create an event instance using solely its name, as name alone is not unique enough to be used as a primary key for looking up or playing events.

If your audio buddy is changing the event’s path, you may want to use its GUID instead - as long as the event itself is only being moved around and edited (i.e. not deleted and/or replaced with another event with the same name), then the GUID should not change. RuntimeManager.CreateInstance() accepts GUID as an argument alongside event path.

1 Like