by skydereign » Sat May 05, 2012 10:07 pm
Activation events are one of the most powerful tools gE has. While gE has its share of bugs and other general problems, almost all of them are in some way avoidable because of activation events. They serve as a custom event for pretty much anything.
The reason I can't write a .c file is because I edited the source. The function can't be done in normal gE, it has to be provided, since it accesses parts of the engine that we don't have access to in the editor. You have to compile a version with the function inserted. Anyway, #include only allows you to insert gE code, so it is the same thing as putting it in global code.