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
LevelDoor interaction text
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#1
LevelDoor interaction text

For some reason I am having trouble calling up text to appear on the screen when the player interacts with a level door. It works fine when it is set to work with a non-level door, but for some reason level doors do not work.

what I have:

in the extra_lang file:

<CATEGORY Name="Doors">
<Entry Name="FL">Firmly Locked</Entry>
</CATEGORY>

Script:

void Locked(string &in asEntity)
{
if(GetSwingDoorLocked(asEntity) == true) SetMessage("Doors","FL",0);
}

and of course the PlayerInteractCallBack field of the door object in the map is set to "Locked."

This should work but I can't figure out why it isn't...

08-16-2011, 08:14 PM
Find


Messages In This Thread
LevelDoor interaction text - by Homicide13 - 08-16-2011, 08:14 PM
RE: LevelDoor interaction text - by Tanshaydar - 08-16-2011, 08:22 PM
RE: LevelDoor interaction text - by Homicide13 - 08-16-2011, 10:59 PM
RE: LevelDoor interaction text - by darkside - 08-20-2011, 11:05 AM
RE: LevelDoor interaction text - by JetlinerX - 08-20-2011, 03:33 PM
RE: LevelDoor interaction text - by Tanshaydar - 08-20-2011, 04:01 PM
RE: LevelDoor interaction text - by JetlinerX - 08-20-2011, 04:06 PM



Users browsing this thread: 1 Guest(s)