• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

(c++) ISODF extended options

Started by Fishbone, March 21, 2004, 10:38:42 PM

Previous topic - Next topic

Fishbone

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")