Primary tabs

Comments by User

Thursday, January 12, 2023 - 07:25

Breakthrough..I got it working with the following snip:

for(int y = 0; y < eset->misc.net_pc_count; y++){

Entity *nete = new Entity();

    nete->stats.animations = "animations/enemies/training_dummy.txt";
    nete->loadAnimations();
    nete->stats.pos = pc->stats.net_pc[y].pos;
    nete->stats.direction = pc->stats.net_pc[y].dir;
    entities.push_back(nete);

}