Zone Manager - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki
-
This class holds the number of the Zone in which Tikis are currently.
-
Parameters:
1. ZoneNumber: the number of the Zone the Tikis are at the moment. It changes whenever the Required Amount of Tikis is reached when passing a ZoneDelimiter. 2. ZoneAndSpawnManager: A TMap with keys being the Zone and the values being the SpawnManager used for that zone. You have to set this manually in order to get this working.
-
Functions:
1. GetZoneSpawnManager: This function you can call from Blueprint returns the SpawnManager you have to use for that zone.
-
Example of usage:
When we enter a trigger box that "kills us", we have to look for the "ZoneManager" actor in the world and use the function "GetZoneSpawnManager" which returns the SpawnManager we have to use for that zone. From here, you should use the example of "SpawnManager".