Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: Grimshad
Forum: C++ Jan 4th, 2009
Replies: 15
Views: 645
Posted By Grimshad
Ok, first ide like to thank everyone here
second, ide like to say im sorry because I didn't know what i was talking about

third, its fixed

if(class 'TFGame'.default.ToggleWarhead == True)
...
Forum: C++ Jan 4th, 2009
Replies: 15
Views: 645
Posted By Grimshad
Ok I found out some more info.

All of the other variables listed at the top of TFGame are in this format when being pulled by other files
if(tfgame(level.Game).variable == true)
When i use...
Forum: C++ Jan 3rd, 2009
Replies: 15
Views: 645
Posted By Grimshad
AncientDragon, im sure theres a lot of sloppy code here.

But your comment didn't really help me get closer to my goal, of making the variable ToggleWarhead global so that i can use it in the file...
Forum: C++ Jan 3rd, 2009
Replies: 15
Views: 645
Posted By Grimshad
I changed it to

if(TFGame.ToggleWarhead == true)
{
case SMS_Construction:
SMNameArray[0] = "Shield (50/30)";
SMIndexArray[0] = 1;
SMNameArray[1] =...
Forum: C++ Jan 3rd, 2009
Replies: 15
Views: 645
Posted By Grimshad
This was quoted by someone who knows C++

"you are trying to use a class without firstly implementig it's creation, or loading it from somewhere"

but to my knowledge its creation is in the file...
Forum: C++ Jan 3rd, 2009
Replies: 15
Views: 645
Posted By Grimshad
I've attached the 2 files

In TFGame the Variable ToggleWarhead is added on line 15

In TFMenuConsole the variable needs to be used on line 1068

In TFGame the variable is created and used in...
Forum: C++ Jan 3rd, 2009
Replies: 15
Views: 645
Posted By Grimshad
Thanks for the responses.

OS: V Extreme
Compiler: UCC

I tried running with the True uncapitalized

Same Error

I tried with the new array size in the if statement
Forum: C++ Jan 3rd, 2009
Replies: 15
Views: 645
Posted By Grimshad
I'm looking for some help with some C++ code. I have working knowledge and understanding of code and coding in general, but don't actually program myself.

I have 2 files

TFGame

and
...
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC