Code:
if(pOrigin[0] > AimOrigin[pID[0]][0])
{
pOrigin[0] = (pOrigin[0] + 0.1)
}
if(pOrigin[0] < AimOrigin[pID[0]][0])
{
pOrigin[0] = (pOrigin[0] - 0.1)
}
if(pOrigin[1] > AimOrigin[pID[0]][1])
{
pOrigin[1] = (pOrigin[1] + 0.1)
}
if(pOrigin[1] < AimOrigin[pID[0]][1])
{
pOrigin[1] = (pOrigin[1] - 0.1)
}
if(pOrigin[2] > AimOrigin[pID[0]][2])
{
pOrigin[2] = (pOrigin[2] + 0.1)
}
if(pOrigin[0] < AimOrigin[pID[0]][2])
{
pOrigin[2] = (pOrigin[2] - 0.1)
}
I think you mean this, where id is supposed to be pID[0], other than that I dont have the includes in front of me so I can't tell you about the tag mismatch error, what it means is that you either added an extra tag in the function call or had an integer instead of a float, or did not have enough tags in the function.