Thanks for your help.
The compiler does not seem to understand the command:
set effect constant vector2 1, "Speed1", 1
But if I remove the "2" it compiles and then the program crashes with a Runtime Error 7801 - Vector does not exist at line 83 which makes since.
How do I get it to understand a vector2?
I looked in the DarkBASIC Professional Help and only found a syntax for:
SET EFFECT CONSTANT VECTOR Effect Number, Constant String, Vector Number
And there is nothing with for vector2.
Do you thing I need to update my compiler?
It looks like this right now...
`Make Water plain
load image "Waves.dds",4
make object plain 3,5000,5000
texture object 3,2,2
texture object 3,1,3
texture object 3,0,4
load effect "Water.fx",2,0
set object effect 3,2
xrotate object 3,270
set object transparency 3,1
waterVector=make vector2( 1 )
set vector2 1, 2.0, 1.0
set effect constant vector 1, "Speed1", 1