Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Issues Help Creating A Lever Puzzle
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#11
RE: Creating A Lever Puzzle

I suppose you're talking about this part of your script:

PHP Code: (Select All)
void PerformLeverTaskCompleted()
 {
 
SetSwingDoorLocked("door1"falsefalse);
 
SetSwingDoorClosed("door1"falsefalse);
 
PlaySoundAtEntity("""unlock_door""door1"0false);
 
PlaySoundAtEntity("""quest_completed.snt""Player"0.5ffalse);
 
StartEffectFlash(10.41);
 } 

Note that to lock the door these functions should be:

PHP Code: (Select All)
SetSwingDoorLocked("door1"truefalse);
 
SetSwingDoorClosed("door1"truefalse); 

What kind of door are you trying to open. Is it a swing type door? Like the ones you can interact to move open?

___________

About the sound and light. That probably happens because function PerformLeverTaskCompleted is not being called. Please activate debug mode and find out if that's the reason.


Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
12-12-2011, 10:17 PM
Find


Messages In This Thread
Creating A Lever Puzzle - by JenniferOrange - 11-21-2011, 11:10 PM
RE: Creating A Lever Puzzle - by Your Computer - 11-22-2011, 12:02 AM
RE: Creating A Lever Puzzle - by BlueFury - 11-22-2011, 12:08 AM
RE: Creating A Lever Puzzle - by JenniferOrange - 11-22-2011, 01:12 AM
RE: Creating A Lever Puzzle - by Your Computer - 11-22-2011, 01:49 AM
RE: Creating A Lever Puzzle - by JenniferOrange - 11-22-2011, 02:04 AM
RE: Creating A Lever Puzzle - by Your Computer - 11-22-2011, 05:13 AM
RE: Creating A Lever Puzzle - by teddan50 - 12-12-2011, 08:58 PM
RE: Creating A Lever Puzzle - by nemesis567 - 12-12-2011, 09:12 PM
RE: Creating A Lever Puzzle - by teddan50 - 12-12-2011, 10:01 PM
RE: Creating A Lever Puzzle - by nemesis567 - 12-12-2011, 10:17 PM
RE: Creating A Lever Puzzle - by teddan50 - 12-13-2011, 09:14 AM
RE: Creating A Lever Puzzle - by nemesis567 - 12-13-2011, 04:17 PM
RE: Creating A Lever Puzzle - by teddan50 - 12-13-2011, 08:07 PM
RE: Creating A Lever Puzzle - by teddan50 - 12-13-2011, 09:03 PM
RE: Creating A Lever Puzzle - by nemesis567 - 12-13-2011, 08:09 PM
RE: Creating A Lever Puzzle - by nemesis567 - 12-13-2011, 09:12 PM
RE: Creating A Lever Puzzle - by teddan50 - 12-13-2011, 09:25 PM
RE: Creating A Lever Puzzle - by nemesis567 - 12-13-2011, 09:28 PM
RE: Creating A Lever Puzzle - by teddan50 - 12-13-2011, 10:31 PM
RE: Creating A Lever Puzzle - by nemesis567 - 12-13-2011, 10:45 PM
RE: Creating A Lever Puzzle - by teddan50 - 12-13-2011, 11:32 PM
RE: Creating A Lever Puzzle - by nemesis567 - 12-14-2011, 12:23 AM
RE: Creating A Lever Puzzle - by teddan50 - 12-14-2011, 12:48 AM
RE: Creating A Lever Puzzle - by nemesis567 - 12-14-2011, 01:02 AM
RE: Creating A Lever Puzzle - by JenniferOrange - 12-14-2011, 08:28 PM



Users browsing this thread: 2 Guest(s)