Forum: C++ Jan 4th, 2009 |
| Replies: 15 Views: 645 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 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 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 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 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 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 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 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
... |