Answering my own question: Apparently I can't assign the event handling function from my source file, so I added my existing source file to the level (wmp) by choosing File | Map Properties | Script, added Action functions to my source file, added the models in the level. In the action functions I grab pointers to "me" so I can still access the entities from the source code.