The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 Help My locked door doesn't display a message?
KingCrimson Offline
Junior Member

Posts: 45
Threads: 14
Joined: Jul 2012
Reputation: 0
#1
My locked door doesn't display a message?

I was using one of the tutorials at the wiki because i want a locked door to say "The lock's broken". But when i try to open the door, it doesn't display anything... Here you've a copy of my script:

Quote:void lockedoor(string &in entity)

{
if(GetSwingDoorLocked("locked1") == true)
{

SetMessage("Messages", "Broken", 0);

}
}
Some info that might be useful:

PlayerInteractCallback
Door's name
Category at extra_english.lang where the messages are
Name of the message

Thanks in advance...

Current Projects:
DADDY - 10%
07-08-2012, 04:29 AM
Find


Messages In This Thread
My locked door doesn't display a message? - by KingCrimson - 07-08-2012, 04:29 AM



Users browsing this thread: 6 Guest(s)