Reporting Issues for Documentation

Engine version: 4.26

Detailed description of the issue: Section 6 of Multiplayer Programming Quickstart says to add:

AThirdPersonMPProjectile* spawnedProjectile = ()->SpawnActor<AThirdPersonMPProjectile>(spawnLocation, spawnRotation, spawnParameters);

It should be:

AThirdPersonMPProjectile* spawnedProjectile = ()->SpawnActor<AThirdPersonMPProjectile>(ProjectileClass, spawnLocation, spawnRotation, spawnParameters);

This is the same as Section 3.2 of First Person Shooter. In the current example ProjectileClass is never used and causes problems if the wants to implement subclasses.

Screenshots: N/A

Additional info that is helpful: N/A

1 Like