Ok first of all i probably would never bother anyone of u with stuff like this but this is really driving me crazy!!!
Its just 5 lines of code and it doesn't work. Please take a look.
it always prints out Building Box Body because no RigType was set
but it always does it no matter what i set the rig string. anybody any ideas?
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
In the above code, you are comparing two pointers. The pointer that the user passed in, and the pointer to the string "box". Unless you managed to find a way to point riggint to the exact same memory address as "box", it won't work. You need to do this instead...
Oh thanks u just saved me a lot of time i totaly forgot about that....
@jrm
printf("The Rigging Type for this entity is %s\n",rigging);
will print The Rigging Type for this entity is in the win32 console and the string saved in rigging at the pos of %s.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Then u tiped in a wrong map name. but i stoped devolping it. u can have the source when u want to develop it further.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.