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?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#13
RE: Swing Door Locked Text?

You don't have a callback syntax for the code I gave you, which evidently means you copied and pasted it without realising so.

Here. Copy and paste this, overwriting your old if.

PHP Code: (Select All)
void CellarDoor2(string &in asEntity)
{
if(
GetSwingDoorLocked("CellarDoor") == true)
{
SetMessage("Sign""CellarDoor"0);


And remove the SetEntityPlayerCollideCallback in your OnStart(); because that is already done by your PlayerInteractCallback section of your cellardoor in the Level Editor.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
09-24-2014, 07:35 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)