SiderealStop
Junior Member
Posts: 32
Threads: 3
Joined: Jun 2012
Reputation:
0
|
Level Doors and Text?
I'm back with more noobish questions~
Before anyone accuses me of not looking, I have. Anything I've come across, I've either tried to understand and tested myself, or just plainly didn't understand. I've tried tutorials as well, just...really not good at following those and have ended up in errors and stuff. Hehe.
Anyway, here's my problem...or rather question:
I have a key and a level door. I need to have the level door be locked, and the key unlock it and disappear. SO simple, right? I already know how to do that with a normal swing door. That's easy enough. But I can't seem to figure out level doors.
My script so far:
void OnStart()
{
}
void OnEnter()
{
PlayMusic("WarOfTheFools.ogg", true, 2, 0, 10, true);
}
Really not sure where to put stuff, and yes I know...this is a reaaaally noobish question! O_O
One other thing is that I have two doors in that same map. One is the level door I need to unlock with a key, the other is a different level door that I want to be...sorta...locked, but only because the player can't go through without the lantern. How would I set a message to appear for both doors before they're 'unlocked' and how would I 'unlock' the one door when the person picks up the lantern?
Sorry for all the random questions! o-o Thanks in advance!
|
|
07-16-2012, 06:52 AM |
|