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?
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#9
RE: My locked door doesn't display a message?

(07-08-2012, 04:29 AM)ExenderVes Wrote: 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...







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

try with that!

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
07-08-2012, 03:08 PM
Find


Messages In This Thread
RE: My locked door doesn't display a message? - by SilentHideButFine - 07-08-2012, 03:08 PM



Users browsing this thread: 1 Guest(s)