Khyrpa
Senior Member
Posts: 638
Threads: 10
Joined: Apr 2011
Reputation:
24
|
RE: Extra_english.lang file aint working
but did you get it working?
Spoiler below!
void OnStart()
{
AddEntityCollideCallback("Player", "door_open_hall_key", "Doorslam1", true, 1);
}
void Doorslam1(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("door_to_hall_key", true, true);
StartPlayerLookAt("door_to_hall_key", 10.0f, 10.0f, "");
AddTimer("", 1.0f, "stoplook");
}
void stoplook(string &in asTimer)
{
StopPlayerLookAt();
}
I suggest you rename the damn area to: door_hall_key_ area
(This post was last modified: 05-25-2011, 06:37 PM by Khyrpa.)
|
|
05-25-2011, 06:36 PM |
|