Battlezone Universe

Battlezone Universe => Archive Vault => Public 1.3 Beta Archive => Topic started by: Fishbone on March 21, 2004, 10:38:42 PM

Title: (c++) ISODF extended options
Post by: Fishbone on March 21, 2004, 10:38:42 PM
ok, I have a problem with the new isodf options in 1.3

I am referring to this:

- Further overloaded the ScriptUtils IsODF() function to be able to
return even more info. For these special cases, you must pass in a
char buffer with length at least 20, with characters 1-19 (c-style,
counting from 0) all zero. The first character specifies what to
return in there ...


I am trying to do this. the compiler doesnt give me any errors. but ingame it does not seem to work. anybody has tried this and got it working?


strcpy(ctemp,"300000000000000000000");
IsOdf(htemp,ctemp);
if(ctemp == "CLASS_ID_CRAFT")