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
How to block the hints?
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#6
RE: How to block the hints?

Here is my example from Premonition.
Spoiler below!

PHP Code: (Select All)
void OnStart()
{
BlockHint("DarknessDecrease");
BlockHint("EntityGrab");
BlockHint("EntityLever");
BlockHint("EntityPush");
BlockHint("EntitySlide");
BlockHint("EntitySwingDoor");
BlockHint("EntityWheel");
BlockHint("PickLantern");
BlockHint("PickOil");
BlockHint("PickTinderbox");
BlockHint("QuestAdded");
BlockHint("RecentlyReadText");
BlockHint("SanityHit");
BlockHint("SanityLow");
BlockHint("Hints");    
BlockHint("EnemySeen");


---
How does it work and where do i get the functions from?
Here is how it works;
The HINTS are placed in the base_english.lang
Here is where the hints are starting:
( for me ) somewhere at line 538.
PHP Code: (Select All)
</CATEGORY>
  <
CATEGORY Name="Hints">
    <
Entry Name="SanityAdd">As you make progress or pick up important itemsyou'll recover some lost sanity.</Entry>
Etcetera,etcetera... 
---
Extra information;
IF you want the hints to appear again at... another map for example, Easely do this ( example )
PHP Code: (Select All)
UnBlockHint("DarknessDecrease");
UnBlockHint("EntityGrab");
UnBlockHint("EntityLever");
UnBlockHint("EntityPush");
UnBlockHint("EntitySlide");
Etcetera,etcetera...
HintWhat i didjust put those (UnBlockHintsinto voidOnLeave() so the hint(sshow(edup in the next map
(This post was last modified: 05-03-2014, 06:38 PM by DnALANGE.)
05-03-2014, 06:24 PM
Find


Messages In This Thread
How to block the hints? - by Radical Batz - 05-03-2014, 03:15 PM
RE: How to block the hints? - by Mudbill - 05-03-2014, 03:26 PM
RE: How to block the hints? - by Radical Batz - 05-03-2014, 03:37 PM
RE: How to block the hints? - by Mudbill - 05-03-2014, 05:25 PM
RE: How to block the hints? - by Radical Batz - 05-03-2014, 05:39 PM
RE: How to block the hints? - by DnALANGE - 05-03-2014, 06:24 PM
RE: How to block the hints? - by Romulator - 05-04-2014, 02:02 AM
RE: How to block the hints? - by Radical Batz - 05-04-2014, 10:43 AM



Users browsing this thread: 1 Guest(s)