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
Locked Door Message not Working, Help Needed. (Awarding Virtual Cookie)
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#24
RE: Locked Door Message not Working, Help Needed. (Awarding Virtual Cookie)

Did you not assemble what I said? The way I have it set, it should work perfectly...

Spoiler below!

Here's the whole setup:



Name of Door: roomone

Active: Yes

CastShadows:Yes

StaticPhysics:No

IsAffectedbyDecal:No

PlayerInteractCallback: DoorLockedMessage

PlayerInteractCallBackAutoRemove: Yes

Locked: Yes

OpenAmount: 0





extra_english.lang



<LANGUAGE>



<CATEGORY Name="Messages">

<Entry Name="lockeddoor">The door is locked from the outside, maybe there is another way out of here.</Entry>

</CATEGORY>



</LANGUAGE>







HPS:



void OnStart()

{

//NOTHING. The callback is already set on the door in the level editor

}



void DoorLockedMessage(string &in asEntity)

{

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

}



09-07-2012, 12:55 AM
Find


Messages In This Thread
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 01:58 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 02:26 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 02:53 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 03:56 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:22 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 04:29 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:20 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:05 PM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 11:11 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:13 PM
RE: Locked Door Message not Working, Help Needed. (Awarding Virtual Cookie) - by Statyk - 09-07-2012, 12:55 AM



Users browsing this thread: 5 Guest(s)