mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-08-12 04:36:22 -05:00
Switcharoo to Gee Emm 2.3
This commit is contained in:
11
Project/scripts/instance_create/instance_create.gml
Normal file
11
Project/scripts/instance_create/instance_create.gml
Normal file
@@ -0,0 +1,11 @@
|
||||
/// @description Creates an instance of a given object at a given position.
|
||||
/// @param x The x position the object will be created at.
|
||||
/// @param y The y position the object will be created at.
|
||||
/// @param obj The object to create an instance of.
|
||||
function instance_create(argument0, argument1, argument2) {
|
||||
var myDepth = object_get_depth( argument2 );
|
||||
return instance_create_depth( argument0, argument1, myDepth, argument2 );
|
||||
|
||||
|
||||
|
||||
}
|
||||
12
Project/scripts/instance_create/instance_create.yy
Normal file
12
Project/scripts/instance_create/instance_create.yy
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"isDnD": false,
|
||||
"isCompatibility": true,
|
||||
"parent": {
|
||||
"name": "instance",
|
||||
"path": "folders/Scripts/compatibility/instance.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "instance_create",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
||||
Reference in New Issue
Block a user