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

5 lines
203 B
Plaintext
Raw Normal View History

2022-08-23 09:25:43 +00:00
function c_changealignment(unitobject, alignment) {
//array_remove(global.units[unitobject.alignment], unitobject);
unitobject.alignment = alignment;
array_push(global.units[alignment], unitobject);
}