Log in

View Full Version : Mapping Spikes


bizarospooky
23-01-2008, 16:58
Sorry if the solution to this is posted somewhere else, I couldn't find it anywhere though. Baisically I am trying to get a spike to respond to the joystick, only thing is I am getting a compiler error of Compatabible Scalar something.

The code I am using is
if (OIToRelay(1, 1, 1, 1) ==1)
{
//do this
}

What did I do wrong here? Also, tried assigning it to a variable, that didn't work either, type mismatch (couldn't figure out the type of variable it was)

Alan Anderson
23-01-2008, 19:42
So far as I can tell, the OIToRelay() function does it all for you. It does not return a value.

bizarospooky
23-01-2008, 21:00
heh ya, I went back and just tried OIToRelay alone it worked yayy