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
Script to add message to a locked swing door
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#3
RE: Script to add message to a locked swing door

Yeah I did this recently:

SetEntityPlayerInteractCallback("Door_1", "LockedDoor", false);
void LockedDoor(string &in asEntity)    {        if(GetSwingDoorLocked("Door_1") == true)        {            SetMessage("Messages", "DoorLocked", 2);        }    }


But it wont work, it doesn't show any message, I think something else is wrong.
02-04-2012, 12:58 PM
Find


Messages In This Thread
RE: Script to add message to a locked swing door - by Ninami - 02-04-2012, 12:58 PM



Users browsing this thread: 4 Guest(s)