Hi!
I'm trying to set up a schematic to bring enemy reinforcements to the battle.
Right now, what I'm doing, is using the combination of these three nodes: Spawn Combatant --> Set Grid Cell Combatant --> Join Battle
So I spawn the combatant at the map coordinates that match the cell I want, then in the next node, Set Grid Cell Combatant, I check ''Use Nearest Cell''.
Now, my schematic works properly when the cell is empty. However, when I have a character blocking the cell, the reinforcement shows up... completely elsewhere. I have no clue how the cell was chosen, but it's certainly not the closest one.
In this image, the two characters are blocking the cells where the 2 blobs facing up where supposed to spawn. However, for some reason, they spawned... there. The pic shows the positions of the combatants immediately after spawning.
So my question is: how can I get the blobs to spawn in nearby cells instead of... there?
Thank you!
Also - the Place On Grid node could be the better choice instead of the Set Grid Cell Combatant node, though both do the job :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
But, just for my understanding, what is the difference between Place on Grid and Set Grid Cell Combatant? I've read both descriptions and can't tell the difference :s
Thanks :)
The Set Grid Cell Combatant is intended for setting a specific cell's combatant and also has more options (e.g. instead of setting the combatant as the cell's combatant, it can be used as move combatant during movement, which allows having 2 combatants on the cell).
So, they do a similar job, but with different objectives in mind :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
(I just realized I am indeed using Set Grid Cell Combatant for grid movement, as shown in the tutorials!)