Simple basic file extension understanding

I have seen some scripts that I believe I have seen in several games is there one that demnosntrates basic NPC shooting. Simple dot gun fire would be ok. enemies.c is one I recall seeing often. Secondly are files like these .h meaning header files?


000hea.PNG
 
I have seen some scripts that I believe I have seen in several games is there one that demnosntrates basic NPC shooting. Simple dot gun fire would be ok. enemies.c is one I recall seeing often. Secondly are files like these .h meaning header files?


View attachment 4425

Many creators put function code into .h files, which of course you really shouldn't do, but you can get away with it in OpenBOR because it interprets .c and .h files the same way. In fact, you don't even have to use .c or .h extensions for script. It's just a good idea to do so for organizational purposes.

DC
 
Back
Top Bottom