Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help Need help displaying door is locked on non-exit doors.
julianprokop Offline
Junior Member

Posts: 19
Threads: 7
Joined: Nov 2011
Reputation: 0
#16
RE: Need help displaying door is locked on non-exit doors.


This is what I've got, and it doesn't work still Sad I fixed the .lang file though a while ago.

/////////CALLBACK
{
AddUseItemCallback("", "key_study_1", "door_locked", "UsedKeyOnDoor", true);
SetLocalVarInt("doorUnlocked", 1);
}


////////LOCKED DOOR MESSAGE

void door_message(string &in asEntity)
{
if(GetLocalVarInt("doorUnlocked") == 0)
{
SetMessage("Doors", "door", 3.0f);
}
}
02-13-2012, 09:23 AM
Find


Messages In This Thread
RE: Need help displaying door is locked on non-exit doors. - by julianprokop - 02-13-2012, 09:23 AM



Users browsing this thread: 1 Guest(s)