Frictional Games Forum (read-only)
Area Problems - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Area Problems (/thread-5077.html)

Pages: 1 2


RE: Area Problems - house - 10-18-2010

(10-18-2010, 04:48 PM)Luis Wrote: Your collide callbacks need 3 parameters:
- string &in asParent
- string &in asChild
- int alState

so for example:
void CollidePlayerTeleport()

should be:
void CollidePlayerTeleport(string &in asParent, string &in asChild, int alState)

I am not 100% sure now, but I think the hpl.log file should warn about this kind of stuff when not finding a function. So everytime you run into this sort of problems you might be able to know what's going on by looking in there.

Thanks, but how do I know what parameters it needs? Edit: I found the hpl.log. I looked in it. It just said something about not being able to launch the modeleditor.cfg. SUPER Edit: Nevermind. I found out how to know. Smile Wheres the remove button to remove this fourm? It isn't needed anymore. Smile Nevermind then, this fourm may help other people.