1) download the 5.8 globstruct that's in the sticky.
2) Start a DLL project in VS6
3) #include <globstruct.h>
4) use the following function to get the globstruct pointer:
GlobStruct *g_pGlob;
__declspec ( dllexport ) void ReceiveCoreDataPtr( void *cdp ){
g_pGlob = (GlobStruct *) cdp;
}
It will be called automaticly from DBP.
5) Once you have the globstruct pointer, you can do this to load a command:
// "Object Number, XAngle, YAngle, ZAngle"
void (*RotateObject)(int , float , float , float );
RotateObject = (void (*)(int , float , float , float ) ) GetProcAddress( g_pGlob->g_Basic3D, "?Rotate@@YAXHMMM@Z");
6) Finally, you can just call RotateObject( objectNumber, angleX, angleY, angleZ);