Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Locked Door Message not Working, Help Needed. (Awarding Virtual Cookie)
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);
}
(This post was last modified: 09-05-2012, 12:28 AM by Statyk.)
|
|
09-05-2012, 12:17 AM |
|