I am working on a PVP arena map (inspired by the Sky Arena, of course). Part of the logic in the scenario is to spawn different weapons or armor at random, at certain reference points. To enable the randomization, I have a couple of arrays with references to a selection of Entity Templates. They're divided into "tier 1" "tier 2" of "tier 3" based on how strong or what type they are. For the guns (tier 3) I have to use templates because I want them to be loaded when they spawn, and don't plan to spawn any more ammunition.
I had the Spawn Entity command tiles in the main "SpawnWeapons" sequence, but separated them when I started seeing the error, hoping to make it work. The error happens whether I use a random one from the array, or put in a reference to a specific Entity Template. Strange thing is, the command does work with some of the templates. The one for the Iron Sword spawns like it is supposed to, if I put it in as a direct reference.
I am working on a PVP arena map (inspired by the Sky Arena, of course). Part of the logic in the scenario is to spawn different weapons or armor at random, at certain reference points. To enable the randomization, I have a couple of arrays with references to a selection of Entity Templates. They're divided into "tier 1" "tier 2" of "tier 3" based on how strong or what type they are. For the guns (tier 3) I have to use templates because I want them to be loaded when they spawn, and don't plan to spawn any more ammunition.
I had the Spawn Entity command tiles in the main "SpawnWeapons" sequence, but separated them when I started seeing the error, hoping to make it work. The error happens whether I use a random one from the array, or put in a reference to a specific Entity Template. Strange thing is, the command does work with some of the templates. The one for the Iron Sword spawns like it is supposed to, if I put it in as a direct reference.
SKY_OCTAGON_ARENA.zip
Share this post
Link to post
Share on other sites