07-27-2011, 01:41 PM
So i am trying to make it so when the user tosses a chair at the door, the door opens. However, whenever i try to add an entity collide callback, the game crashes at that point. The following statement is the culprit:
Is the game not designed to handle entity-to-entity collision? Or am i supposed to use a different function? Or is the only way to accomplish my goal is through the use of areas? Or...?
Code:
AddEntityCollideCallback("front_door", "armchair_1", "EntityCollided", true, 0);
Is the game not designed to handle entity-to-entity collision? Or am i supposed to use a different function? Or is the only way to accomplish my goal is through the use of areas? Or...?