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_oAutoadControlTr...

26 lines
438 B

if (active && other.state == 23 && other.xVel == 0 && activated == 0)
{
with (other.id)
{
state = 60
statetime = 0
}
alarm[1] = 120
activated = 1
sfx_play(sndMorphBallSlot)
sfx_play(sndAutoadActivate)
}
if (other.state == 60)
{
if (other.x > targetx)
{
with (other.id)
x -= 1
}
if (other.x < targetx)
{
with (other.id)
x += 1
}
}