Play sound effect [अप्रचलित]

STD Library
अप्रचलित
सर्वर साइड
क्राफ्टलैंड स्टूडियो मोबाइल और पीसी दोनों पर उपलब्ध है

Play the specified sound effect. If there are more properties to set, further set its entity properties through the entity (deprecated, please use CreateSound)

डिक्लेरेशन

func CreateSoundEntity_Deprecated(out var createdEntity entity<PresentSound_Deprecated>, owner entity<Player>, soundType SoundEffectType)
go

पैरामीटर्स

इनपुट

नाम टाइप विवरण
Player Player The player entity it belongs to, only visible to that player
Resource path AudioType Sound effect type, the type of sound effect that players can choose

आउट

नाम टाइप विवरण
Music entity PresentSound[अप्रचलित] In the code, it is used to indicate the name of the parameter for creating a sound effect entity. The corresponding local variable value is the entity that creates the sound effect.