What Varlock presented is correct; this is the right path to go down if we understand you correctly.
Double check your code if it's not working. The code you posted wont work because the "setting to 0" code only gets executed if oz_defaultctf exists (it's in the larger if block) DM maps don't have this, so itll just skip the entire block and be left un-initialized. The trick is to initialize it to 0 at the top of the function, and then give your code a chance to change it if it is present. david -----Original Message----- From: Dave R. Meyers [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 30, 2001 4:44 AM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] world.cpp Keyvalues nope, that is right on, but I also tried that(first idea as a matter of fact), and for some reason it would always stay 0. never change to 1 or 2? But you do have the concept right. Thanks for the quick reply, I am off to bed now. Maybe when I wake up, I will have more ideas. happens sometimes. Dave _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

