how to repeat code in Function for different things

Use a Switch (INT) to set a function local var for the class to spawn.

Sequence Node
Then 0 → Switch on INT → Set class
Then 2 → Spawn actor

2 Likes