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
Door Message Problem
house Offline
Member

Posts: 195
Threads: 11
Joined: Oct 2010
Reputation: 1
#1
Question  Door Message Problem

I made a locked door in my level. I make it say something when its locked. When its unlocked, and you hold the door down to open and close the door, it still says the message! I really don't want it to say it anymore when the door is unlocked. Can anyone fix this? This is the code in the script to make the door say the message when locked:

void InteractClosedDoor(string &in asEntity)
{
    AddTimer("doorm", 0.5f, "TimerDoorMessage");
}
void TimerDoorMessage(string &in asTimer)
{
    SetMessage("Messages", "Locked_Door_9", 0);
}

Please help. Sad
10-22-2010, 09:19 PM
Find


Messages In This Thread
Door Message Problem - by house - 10-22-2010, 09:19 PM
RE: Door Message Problem - by Pandemoneus - 10-22-2010, 09:39 PM
RE: Door Message Problem - by house - 10-23-2010, 12:34 AM



Users browsing this thread: 1 Guest(s)