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
Swing Door Locked Text?
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#14
RE: Swing Door Locked Text?

Aaaand ninja yet again. I swear you weren't there when I opened it o.o


That last if-statement is not within any code block. That's why you're crashing right now.

You haven't made your callback yet. You must place it where you have your current, invalid if-statement.

Since you put CellarDoor2 in the level editor on the door in the PlayerInteractCallback, you can do
PHP Code: (Select All)
void CellarDoor2(string &in asEntity)
{
    if(
GetSwingDoorLocked(asEntity)) SetMessage("Sign""CellarDoor"0);


Try this instead of what you have down there.

(This post was last modified: 09-24-2014, 01:55 PM by Mudbill.)
09-24-2014, 07:53 AM
Find


Messages In This Thread
Swing Door Locked Text? - by Amnesiaplayer - 09-23-2014, 02:29 PM
RE: Swing Door Locked Text? - by Romulator - 09-23-2014, 02:51 PM
RE: Swing Door Locked Text? - by Amnesiaplayer - 09-23-2014, 03:41 PM
RE: Swing Door Locked Text? - by Romulator - 09-23-2014, 03:51 PM
RE: Swing Door Locked Text? - by Mudbill - 09-23-2014, 03:54 PM
RE: Swing Door Locked Text? - by Amnesiaplayer - 09-23-2014, 04:21 PM
RE: Swing Door Locked Text? - by Neelke - 09-23-2014, 04:27 PM
RE: Swing Door Locked Text? - by Amnesiaplayer - 09-23-2014, 04:29 PM
RE: Swing Door Locked Text? - by Neelke - 09-23-2014, 05:01 PM
RE: Swing Door Locked Text? - by Amnesiaplayer - 09-23-2014, 05:06 PM
RE: Swing Door Locked Text? - by Neelke - 09-23-2014, 07:07 PM
RE: Swing Door Locked Text? - by Amnesiaplayer - 09-24-2014, 06:15 AM
RE: Swing Door Locked Text? - by Romulator - 09-24-2014, 07:35 AM
RE: Swing Door Locked Text? - by Mudbill - 09-24-2014, 07:53 AM
RE: Swing Door Locked Text? - by Amnesiaplayer - 09-24-2014, 01:02 PM



Users browsing this thread: 1 Guest(s)