Create Sound

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

Play the specified sound effect. If there are more properties that need to be set, you can set its entity properties.

डिक्लेरेशन

func CreateSound(out var createdEntity entity<SoundEffect>, target entity<Player>, resource SoundEffectType, loopType LoopType, autoPlay bool)
go

पैरामीटर्स

इनपुट

नाम टाइप विवरण
Target Player Target player, only the target player can hear the sound effect
Resource AudioType Sound Effect Type
Loop Type AnimationOverrideLoopType Loop type
Auto Play Bool Play immediately or not

आउट

नाम टाइप विवरण
Created Entity SoundEntity Created sound entity