I am trying to spawn a weapon and save the spawned actor to a variable but I have no clue how to declare a Actor variable, anyone have a clue?
Just a simple pointer declaration like this :
AActor* spawnedActor = World->SpawnActor(…)
yeah i was missing the * and the compiler doesnt really give decent feedback thanks