Well. If I knew how to use the search feature, this thread would not exist. Heres the code I whipped up:
You'll never guess who's thread response helped me solve this. I'll give you a hint: The name starts with S and rhymes with uperku
action bobinwater()
{
set(my,PASSABLE);
VECTOR origin;
vec_set(origin,my.x);
ANGLE organg;
organg.tilt = my.tilt;
organg.roll = my.roll;
var bob;
while(1)
{
bob += time_step*5;
bob %= 360;
my.z = origin.z-sinv(bob);
my.roll = organg.roll+12*sinv(bob+90);
my.tilt = organg.tilt+5*sinv(bob);
my.pan += time_step*0.1;
wait(1);
}
}