8 lines
193 B
Plaintext
8 lines
193 B
Plaintext
|
target_delay = SHOT_MISSILE_TARGET_DELAY;
|
||
|
|
||
|
if ( instance_exists( obj_enemy_parent ) ) {
|
||
|
target = instance_nearest(x,y, obj_enemy_parent);
|
||
|
} else {
|
||
|
target = instance_nearest(x,y, obj_wall);
|
||
|
}
|