eastern-flames/eastern flames/scripts/c_changealignment/c_changealignment.gml

5 lines
203 B
Plaintext

function c_changealignment(unitobject, alignment) {
//array_remove(global.units[unitobject.alignment], unitobject);
unitobject.alignment = alignment;
array_push(global.units[alignment], unitobject);
}