You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oTankCannon_Othe...

17 lines
425 B

var projx, projy, proj;
projx = (x + lengthdir_x(60, direction))
projy = (y + lengthdir_y(60, direction))
proj = instance_create(projx, projy, oTankProjectile)
proj.direction = direction
proj.image_angle = direction
proj.speed = 4
proj.type = beamType
if (beamType == "ICE")
proj.sprite_index = sTankProj2
else if (beamType == "WAVE")
{
proj.depth = -200
proj.sprite_index = sTankProj3
}
sfx_play(sndAutrackFire)