is it possible to pass perimeters to actions because i am having some trouble with a game i have been making.
i am trying to make a script so that to create an "enemy" i just have to call a function and set a few perimeters. for instance:
create_enemy(ENTITY* ent, var health, var attack, var defence);
this way i was hoping that i could create multiple enemys without having to insert another "chunk" of code.
so overall i am asking:
is there a way to pass parimeters to actions?
and if not:
which way should i tackle this problem?
thanks.