If I go into my .FX file and I place this:

Code:
float4 myFloats;



The script will crash when the engine runs.

i can see this in the d3d9.h

Code:
STDMETHOD(SetVector)(THIS_ D3DXHANDLE hParameter, CONST D3DXVECTOR4* pVector) PURE;



in the .fx file ive done this as well:

Code:
const float4 myFloats;



and the script still crashes in the material event

Last edited by jumpman; 08/07/18 16:08.