Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표
I used ak.wwise.core.object.setProperty , but I don't know can I use it to change the AudioFileSource and Event Target
General Discussion chandon w. (160 포인트) 로 부터

1 답변

0 투표
 
우수 답변
Hello,

To set the Event Target, you need to use: ak.wwise.core.object.setReference, with reference="Target", on a Action object.
Refer to: https://www.audiokinetic.com/fr/library/edge/?source=SDK&id=ak_wwise_core_object_setreference.html

The AudioFileSource can not be changed setProperty. In order to change audio source, you need to use ak.wwise.core.audio.import.
Refer to: https://www.audiokinetic.com/fr/library/edge/?source=SDK&id=waapi_import.html
Bernard R. (Audiokinetic) (35.8k 포인트) 로 부터
선택됨 chandon w. 로 부터
I try to use ak.wwise.core.object.setReference and set reference as "Target",but wwise return Object can't have this reference
I set event as object. Should object be set to other here?
Make sure you set the Target on the Action, not the Event directly. Each Event in Wwise is a list of Actions, and the Actions are the objects that have the Target.
I understand and solved this problem, thank you very much
...