Hi again!
I need some more help!
What I want to do is:
To have a LootSpawnerMaster spawn randomly to one of its LootSpawnerSlaves an item. Then I want to change some of its properties right when the game starts.
What I have done is:
The item is a book, which since it will contain "dynamic" data relevant for the map, it should be randomly placed. I have noticed that the function that "spawns" the objects is a "PreBeginPlay()". I have a special actor that searches for any instance of ThObjectReadables (and any of its subclasses) for a special tag. When found, it writes the text on its first page. For this purpose, I created a subclass of ThObjectBook who's default Tag value equals the tag I want. The function that does the search and writes is a BeginPlay().
What happens is:
If I place a regular book on the map and ignore the Spawners. It gets written.
If I use everything as mentioned above, with the lootspawners and the special classes, my function does not find it, even though it gets spawned.
Why?
Any help?
Thx in advance!
Kael
I need some more help!
What I want to do is:
To have a LootSpawnerMaster spawn randomly to one of its LootSpawnerSlaves an item. Then I want to change some of its properties right when the game starts.
What I have done is:
The item is a book, which since it will contain "dynamic" data relevant for the map, it should be randomly placed. I have noticed that the function that "spawns" the objects is a "PreBeginPlay()". I have a special actor that searches for any instance of ThObjectReadables (and any of its subclasses) for a special tag. When found, it writes the text on its first page. For this purpose, I created a subclass of ThObjectBook who's default Tag value equals the tag I want. The function that does the search and writes is a BeginPlay().
What happens is:
If I place a regular book on the map and ignore the Spawners. It gets written.
If I use everything as mentioned above, with the lootspawners and the special classes, my function does not find it, even though it gets spawned.
Why?
Any help?
Thx in advance!
Kael
Comment