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
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#4
RE: Script to add message to a locked swing door

(02-04-2012, 12:58 PM)Ninami Wrote: 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.
Have you named the door Door_1 and checked so everything is correct?



02-04-2012, 01:00 PM
Find


Messages In This Thread
RE: Script to add message to a locked swing door - by SilentStriker - 02-04-2012, 01:00 PM



Users browsing this thread: 4 Guest(s)