I want to make some animating water. I have three terrain .bmp's. I want to load one, set an animation key, load another, set another animation key, then load the final terrain, set an animation key, and finally animate the terrain.
This is the code I have so far, but it is not working. Could you please tell me why and how to fix it?
Any help or advise would be greatly appreiciated!
This is the code I have so far, but it is not working. Could you please tell me why and how to fix it?
Function createmywater() s=LoadTerrain("watert1.bmp") ScaleEntity s,2,2,2 PositionEntity s,-512,-8,-512 EntityColor s,50,80,140 EntityAlpha s,.3 SetAnimKey s,0 s=0 s=LoadTerrain("watert2.bmp") ScaleEntity s,2,2,2 PositionEntity s,-512,-8,-512 EntityColor s,50,80,140 EntityAlpha s,.3 SetAnimKey s,10 s=0 s=LoadTerrain("watert3.bmp") ScaleEntity s,2,2,2 PositionEntity s,-512,-8,-512 EntityColor s,50,80,140 EntityAlpha s,.3 SetAnimKey s,20 seq=AddAnimSeq(s,20) Animate s,1,1,0 End Function
Any help or advise would be greatly appreiciated!