I just thought of this while answering another post but this may be really useful if it works.
ParseArg seems not to accept variable on the second parenthesis, so you had to manually enter numbers even that is relative to another element of the cog variable.
old :
ParseArg(player, "eyeoffset='0 1 0.37'");
But how about concatenating the strings using the cog commands or just as is?
try1 :
ParseArg(player, "eyeoffset='"eyeVec"'");
try2 :
jkClearString();
jkConcatAsciiString("eyeoffset='");
jkConcatInt(eyeVec);
jkConcatAsciiString("'");
string = jkOutputString(-1, -1);
ParseArg(player, string);
Maybe no? (The second method seems really dumb though...)
Sometimes I feel JK is do dumb in taking care of char...
------------------
http://millennium.massassi.net/ - Millennium
[This message has been edited by Hideki (edited August 14, 2001).]
ParseArg seems not to accept variable on the second parenthesis, so you had to manually enter numbers even that is relative to another element of the cog variable.
old :
ParseArg(player, "eyeoffset='0 1 0.37'");
But how about concatenating the strings using the cog commands or just as is?
try1 :
ParseArg(player, "eyeoffset='"eyeVec"'");
try2 :
jkClearString();
jkConcatAsciiString("eyeoffset='");
jkConcatInt(eyeVec);
jkConcatAsciiString("'");
string = jkOutputString(-1, -1);
ParseArg(player, string);
Maybe no? (The second method seems really dumb though...)
Sometimes I feel JK is do dumb in taking care of char...
------------------
http://millennium.massassi.net/ - Millennium
[This message has been edited by Hideki (edited August 14, 2001).]