Frictional Games Forum (read-only)
Nkmols' question - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Nkmols' question (/thread-6676.html)

Pages: 1 2 3


RE: Nkmols' question - Pandemoneus - 02-27-2011

junkfood2121 Wrote:I don't think you're going to have the brackets after the "else".

It doesn't matter when it's a single line, but it's bad scripting imo if you don't put them.

@nkmol
I think the category has to be 'Message'.

Code:
SetMessage("Message", "CabinetLocked", -1);

Code:
<CATEGORY Name="Message">
    <Entry Name="CabinetLocked">It's locked</Entry>
</CATEGORY>

Also make sure you play your map using Custom Story in the main menu.


RE: Nkmols' question - nkmol - 02-27-2011

i see i already did that before Tongue but that doesn't work either Tongue


RE: Nkmols' question - nkmol - 03-02-2011

previous still isn't solved, but already got a new question Wink

how to let this script to work, SetEntityPlayerLookAtCallback(string& asName, string& asCallback, bool abRemoveWhenLookedAt);
if i get this to work i could use areas to i geuss. atm i use the callback in the leveleditor.
because this one doesn't work, my callback ; SetEntityPlayerLookAtCallback("corpse_male_leg_1", "Scare_GrundFood", true);


RE: Nkmols' question - nkmol - 03-03-2011

just solved whith a blackbox Tongue my next question.

When creating a new model and adding it to the game. Do i need to preload it somehow, because it crashing when i put it ingame? In the ModelViewer it works perfect.btw i've made a joint saw.


RE: Nkmols' question - nkmol - 03-04-2011

oke, i think i found the problem. But didn't solved it yet. The crash has something to do whith my model, precisly whith the "User Defined Variables". As soon as i add those to my model, it is crashing. I just setted the Variables of a lever Tongue Don't know what i did wrong :S


RE: Nkmols' question - nkmol - 03-06-2011

BUMP Smile need some help whith this Tongue feel free to ask, if you don't understand the question Tongue


RE: Nkmols' question - nkmol - 03-08-2011

My Model it working in Mapview and in the ModelEditor. I can move the BoneSaw_joint as it suppose to move. But when i start my map the "EXCEPTION_ACCES_VIOLATION" error shows up in the BlackBox :S sorry i keep asking, i'm out of solutions Tongue