Frictional Games Forum (read-only)
[SCRIPT] Level Door - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Level Door (/thread-13309.html)



Level Door - Dexakita - 02-13-2012

I'm struggling (Again) with the scripting for the key.. And the door.

When I use the key on the door, the name wont come up..
I tried different ways of scripting, but none of it worked, so I deleted my scripting of the level door and the key.

Could someone give me a proper scripting example for this problem? It would be very much appreciated.

The door is named Level_1
Key is named Awesomekey_1

Please help me. <3




RE: Level Door - Tripication - 02-13-2012

Browse the wikis engine scripts for AddUseItemCallback, and if you get the time, actually read a few pages of the many scripting tutorials there. They are very useful and if you spend the time, you will be suprised just how easy it it. Im sorry i cant help you much right now, im on my phone atm and its just a bit of a hastle copying and pasting things with this, but this is a common topic so you should be able to find someone that can do a better job than me atm.

Good luck.


RE: Level Door - flamez3 - 02-13-2012

I actually don't know what you mean?

"When I use the key on the door, the name wont come up.."


What do you mean by that?


RE: Level Door - Dexakita - 02-13-2012

(02-13-2012, 03:00 PM)flamez3 Wrote: I actually don't know what you mean?

"When I use the key on the door, the name wont come up.."


What do you mean by that?
Badly description by; ME.

Uh..
I meant to write: When I pick up the key, there's no name. (That's how I should have put it..)
(02-13-2012, 02:29 PM)Tripication Wrote: Browse the wikis engine scripts for AddUseItemCallback, and if you get the time, actually read a few pages of the many scripting tutorials there. They are very useful and if you spend the time, you will be suprised just how easy it it. Im sorry i cant help you much right now, im on my phone atm and its just a bit of a hastle copying and pasting things with this, but this is a common topic so you should be able to find someone that can do a better job than me atm.

Good luck.
I guess you're right. I'll study a bit more and then try again! I wont give up this easily. Thank you <3





RE: Level Door - Your Computer - 02-13-2012

http://www.youtube.com/watch?v=xM8cMhPw_d8&list=PLD326789BC99530C8&index=10


RE: Level Door - Dexakita - 02-15-2012

(02-13-2012, 09:16 PM)Your Computer Wrote: http://www.youtube.com/watch?v=xM8cMhPw_d8&list=PLD326789BC99530C8&index=10
Thank you! You three are life savers like always *u* <3