Progetto H — Riferimento API Documentazione & Scripting
Funzione Server Lento

Melee:AddAnimationCharacterUse

Sets an Animation when attacking<br/><br/>You can add more than one animation, which will be selected randomly when attacking

Non ancora tradotto

Sintassi

Lua
my_melee:AddAnimationCharacterUse(asset_path, play_rate = 1.0, slot_Type = AnimationSlotType.UpperBody)

Parametri

Nome Tipo Predefinito Descrizione
asset_path AnimationPath The Animation used when attacking
play_rate facoltativo float 1.0 The Animation Play Rate
slot_Type facoltativo AnimationSlotType AnimationSlotType.UpperBody Whether to play it on upper body or full body