i am cheating
This commit is contained in:
parent
09ade10207
commit
1c893940ac
78 changed files with 466 additions and 94 deletions
8
eastern flames/scripts/c_inheritunit/c_inheritunit.gml
Normal file
8
eastern flames/scripts/c_inheritunit/c_inheritunit.gml
Normal file
|
@ -0,0 +1,8 @@
|
|||
function c_inheritunit(x, y, unit_) {
|
||||
var chump = instance_create(-10, -10, o_unit);
|
||||
chump.data = unit_;
|
||||
chump.pos.x = x;
|
||||
chump.pos.y = y;
|
||||
chump.sprite_index = unit_.sprite;
|
||||
return chump;
|
||||
}
|
12
eastern flames/scripts/c_inheritunit/c_inheritunit.yy
Normal file
12
eastern flames/scripts/c_inheritunit/c_inheritunit.yy
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "Scripts",
|
||||
"path": "folders/Scripts.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "c_inheritunit",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue