VMukesh
(V Mukesh)
October 17, 2023, 1:13pm
1
client not able to spectate - i have referred 2 resource, which works in those, but still no luck, i am not able to figure out what i am missing here
Referred these two resource:
https://wizardcell.com/unreal/spectating-system/#1-clients-cant-spectate
https://github.com/tomlooman/EpicSurvivalGame/tree/master/SurvivalGame
VMukesh
(V Mukesh)
October 26, 2023, 11:36am
2
Solved, just had to add server rpc function to Die() method
i referred lyra and shooter, there they have used some builtin functions which already had rpc implementation.
Any idea how to give custom spectating point?
Best approach I’ve found is to unpossess the primary pawn on death, Spawn spectator class at dead pawns location, possess it.
All done in the game mode.
Who to spectate is derived from a list of alive players via Player Array. This list needs to be updated constantly based on the sims alive state.
When you choose a player you use set target view with blend (cameras).
When you choose free roam you teleport the spectator class to the current location and set target view with blend back to the spec cam.
1 Like
system
(system)
Closed
November 26, 2023, 8:00pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.