Good afternoon , I 'm going to use Lear 's achievements in a single - player shooter . Any ideas where to start the change ? I was alerted by several problems, 1 Is it possible to set the spawn of the bot not at the player’s starting point?, 2 is it possible to somehow set the command in which the bot will go? Or it’s easiest to create a new character based on the Lyre, but there remains the question of choosing a team, because you can’t go to c++ from bluprints, and player state is only in c++. I don 't speak English well , so I 'm sorry for the mistakes .
LyraPlayerStart is spawning point, add as many as you like, but havent tried to set which starting point it will choose. Im working on zombie fighter so will be facing this later.
To change how the player start points are chosen requires some relatively easy C++ changes.
See ULyraPlayerSpawningManagerComponent
, in particular ChoosePlayerStart
and OnChoosePlayerStart
.
There is a second variation of this, UTDM_PlayerSpawningManagmentComponent
, which overrides OnChoosePlayerStart
.
Good luck!
1 Like
And it is impossible not to go into c ++ ?for example, create an analog on bluprints
A lot of Lyra is able to be customized in BP, but not this. AFAIK to change this aspect of it requires changing some C++.