Joined: Jul 2011
Just a quick question.
I Have this hallway that you walk into and then you click a door a monster spawns (in the room that you tried opening) and I want it so if you do run away at then end of the hallway the door slams shut in your face. (Only when leaving though)
Don't you write the line of code
AddEntityCollideCallback("Player", "DoorSlam_5", "CollideDoorSlam_5", true, -1);
And Put -1 Instead of 1? 1= walking into it, 2= both ways, -1= walking into oppisite way? Is this correct? If it's not correct do you mind just helping me how to make the door close while running away?
|07-26-2011 01:22 AM