Maybe this can count as another default code error?
The help for unit.on(“spawn”, onSpawn);
so the correct code for soldierLogic() will be:
Like, stormbringer said; might be a bug in C++
auto soldier = event. target did not work for me. any other ideas?
I take that back you gave me all i needed to get it to work so thanks for that.
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.