Knowledge base
Search Blueprint patterns
Searching…
Knowledge base
Pattern: EventBeginPlay or custom event → GetMesh → PlayMontage(MontageToPlay=AM_Attack, Rate=1.0) → Bind to OnMontageEnded delegate on AnimInstance for completion callback. Simpler approach: use Delay(Duration=MontageLength) after PlayMontage as rough callback. Key: PlayMontage is called on SkeletalMeshComponent (GetMesh()). Inputs: 'InSkeletalMeshComponent' and 'MontageToPlay'. Returns montage length as ReturnValue.