;move_butterfly.sqs by linker Split

_insect = _this select 0
_t = random 5
~(random _t*2)
_insect setVelocity [0,2,1.5]
~_t/1.8
#START
_insect setVelocity [(random 2),(random 1.4),0]
? (((position _insect) select 2) >= 3) : _insect setVelocity [(random 2),(random 1),-(random 1.5)]
? (((position _insect) select 2) <= 0.3) : _insect setVelocity [(random 1.6),(random 1),(random 1.5)]
~_t/2.6
_insect setVelocity [(random -1),(random 2),-(random 0.4)]
? (((position _insect) select 2) >= 3) : _insect setVelocity [(random 2),(random 1),-(random 1.5)]
? (((position _insect) select 2) <= 0.3) : _insect setVelocity [(random 1.6),(random 1),(random 1.5)]
~_t/2.4
_insect setVelocity [(random -3),(random -3),0]
? (((position _insect) select 2) >= 3) : _insect setVelocity [(random 2),(random 1),-(random 1.5)]
? (((position _insect) select 2) <= 0.3) : _insect setVelocity [(random 1.6),(random 1),(random 1.5)]
~_t/2.1
_insect setVelocity [(random 2),(random 4),-(random 0.4)]
? (((position _insect) select 2) >= 3) : _insect setVelocity [(random 2),(random 1),-(random 1.5)]
? (((position _insect) select 2) <= 0.3) : _insect setVelocity [(random 1.6),(random 1),(random 1.5)]
~_t/1.11
goto "START"