Frictional Games Forum (read-only)
[newbie] Simple script problem :S - 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: [newbie] Simple script problem :S (/thread-6555.html)

Pages: 1 2


RE: [newbie] Simple script problem :S - nkmol - 02-12-2011

(02-12-2011, 06:43 PM)Tanshaydar Wrote: Well, let's go step by step.
- Level editor: Door's name is true, it's locked, key's name is true.
- In script file key's and door's name is true, functions are correct (after changes with string &in asEntity etc.)
- But in game, key cannot be used on the door?

Correct!


RE: [newbie] Simple script problem :S - nkmol - 02-13-2011

Btw i have to put the name entity of, it is showen in game or in level editor in THE script? I did really everything, even followed THE video guide from wiki.


RE: [newbie] Simple script problem :S - Argoon - 02-13-2011

I don't want to police the forum, but this is not the thread to post scripting or editing problems, this is the showcase forum to show WIP of your custom story or mod.


RE: [newbie] Simple script problem :S - nkmol - 02-13-2011

Yes i saw that sorry, if anybody could move this topic i would appreciate Smile


RE: [newbie] Simple script problem :S - nkmol - 02-13-2011

I really dont understand this. Compared my script whith other custom script, but still i can't find the problem. Followed tuts, still can't find the problem Confused


RE: [newbie] Simple script problem :S - nkmol - 02-15-2011

bump Blush


RE: [newbie] Simple script problem :S - nkmol - 02-16-2011

they key still won't work on the door :S whatever i try, it won't work Sad
please if anybody could see the problem Angel


RE: [newbie] Simple script problem :S - Selyp - 02-17-2011

I had the same problem and after tons of searching around it turned out it was just a small typo on the item name in the level editor. I know you said you already checked, but make sure you check again, then go over your script for any typos like placing (Smile instead of (Wink or small thing like that.


RE: [newbie] Simple script problem :S - nkmol - 02-17-2011

thanks for replying Wink to clear some things up for me,
at the AddUseItemCallback script, the entity of the key should be the sub item name
[Image: keyentity2.jpg]

or the real name?
[Image: keyentity.jpg]