So you know those hints which when you pick up a tinder box it will show you a hint about it, and when you're in darkness it will show you a hint about it! Yeah, you know what I'm talkin about.
So I made a voice intro and I gave the player 3 tinderboxes already as a beginning but the tinderboxes hint appears in the voice acting scene and I don't want that, I know what the code to block hints
PHP Code:
BlockHint("PickTinderbox");
But the problem is, what's the name of the hint I wanna block? How the heck should I know?
I don't know where I can find the names of the hints to block them! anybody knows? pls?
Take a look in the english.lang in the config folder. You'll find it there. Or perhaps base_english.lang, but I think it's the first one.
Edit: It looks like what you put should be the correct one.
base_english.lang has this:
Code:
<Entry Name="PickTinderbox">Tinderboxes are used to light candles and other light sources in the enviroment. The current amount of Tinderboxes is shown in Inventory ($ButInventory).</Entry>
(05-03-2014, 03:26 PM)Mudbill Wrote: [ -> ]Take a look in the english.lang in the config folder. You'll find it there. Or perhaps base_english.lang, but I think it's the first one.
Edit: It looks like what you put should be the correct one.
base_english.lang has this:
Code:
<Entry Name="PickTinderbox">Tinderboxes are used to light candles and other light sources in the enviroment. The current amount of Tinderboxes is shown in Inventory ($ButInventory).</Entry>
---
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:
</CATEGORY> <CATEGORY Name="Hints"> <Entry Name="SanityAdd">As you make progress or pick up important items, you'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:
UnBlockHint("DarknessDecrease"); UnBlockHint("EntityGrab"); UnBlockHint("EntityLever"); UnBlockHint("EntityPush"); UnBlockHint("EntitySlide"); Etcetera,etcetera... Hint: What i did, just put those (UnBlockHints) into voidOnLeave() so the hint(s) show(ed) up in the next map.