C++:
Monster* summon = Monster::createMonster(summonBlock.name);
if (summon) {
const Position& summonPos = getPosition();
addSummon(summon);
this function on monster.cpp, how can i do something like this.
a check to relocate the summon position, if the summonPos is = 3020,3123,7
example.
C++:
if summonPos = 3020,3123,7
addSummon on position 3461,1342,7