Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Moderato

Vehicle:PlayAnimation

Plays an Animation on this Vehicle

Non ancora tradotto

Sintassi

Lua
my_vehicle:PlayAnimation(animation_path, slot_name = DefaultSlot, loop_indefinitely = false, blend_in_time = 0.25, blend_out_time = 0.25, play_rate = 1.0, stop_all_montages = false)

Parametri

Nome Tipo Predefinito Descrizione
animation_path AnimationPath
slot_name facoltativo string DefaultSlot
loop_indefinitely facoltativo boolean false This parameter is only used if the Vehicle has an Animation Blueprint
blend_in_time facoltativo float 0.25 This parameter is only used if the Vehicle has an Animation Blueprint
blend_out_time facoltativo float 0.25 This parameter is only used if the Vehicle has an Animation Blueprint
play_rate facoltativo float 1.0 This parameter is only used if the Vehicle has an Animation Blueprint
stop_all_montages facoltativo boolean false Stops all running Montages from the same Group. This parameter is only used if the Vehicle has an Animation Blueprint