|
1
|
function scr_oflash_towerscr_oflash_tower
function scr_oflash_tower()
{
_oflash = instance_create(x, y, obj_oflash_tower);
_oflash.image_xscale = image_xscale;
_oflash.image_speed = 0;
_oflash.image_index = image_index;
_oflash.image_yscale = image_yscale;
_oflash.sprite_index = sprite_index;
_oflash.depth = depth - 1;
_oflash.target = id;
return _oflash;
} ()
|
|
2
|
{
|
|
3
|
_oflash = instance_create(x, y, obj_oflash_tower);
|
|
4
|
_oflash.image_xscale = image_xscale;
|
|
5
|
_oflash.image_speed = 0;
|
|
6
|
_oflash.image_index = image_index;
|
|
7
|
_oflash.image_yscale = image_yscale;
|
|
8
|
_oflash.sprite_index = sprite_index;
|
|
9
|
_oflash.depth = depth - 1;
|
|
10
|
_oflash.target = id;
|
|
11
|
return _oflash;
|
|
12
|
}
|