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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Lever Puzzle Help
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#4
RE: Lever Puzzle Help

To reset, add an else if like this.
PHP Code: (Select All)
void LeverStateChange(string &in asEntityint alState)
{
if((
GetLeverState("lever1") == 1) && (GetLeverState("lever2") == 1) && (GetLeverState("lever3") == 1)) 
{
PlaySoundAtEntity("","level_wood_min_max01.snt""lever3"0false);
AddPropForce("themaiden"20000"mylordscurse_1");
AddTimer(""2"PaintingMove");
SetEntityInteractionDisabled("lever1"true);
SetEntityInteractionDisabled("lever2"true);
SetEntityInteractionDisabled("lever3"true);
}

else if
{
//EFFECTS
}


"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 05-10-2013, 12:10 AM by PutraenusAlivius.)
05-10-2013, 12:10 AM
Find


Messages In This Thread
Lever Puzzle Help - by RurouniMori - 05-09-2013, 10:05 PM
RE: Lever Puzzle Help - by Tomato Cat - 05-09-2013, 11:08 PM
RE: Lever Puzzle Help - by RurouniMori - 05-09-2013, 11:22 PM
RE: Lever Puzzle Help - by PutraenusAlivius - 05-10-2013, 12:10 AM
RE: Lever Puzzle Help - by Tomato Cat - 05-10-2013, 12:27 AM
RE: Lever Puzzle Help - by RurouniMori - 05-10-2013, 01:37 AM
RE: Lever Puzzle Help - by RurouniMori - 05-10-2013, 02:46 AM
RE: Lever Puzzle Help - by Tomato Cat - 05-10-2013, 02:59 AM
RE: Lever Puzzle Help - by RurouniMori - 05-10-2013, 03:07 AM
RE: Lever Puzzle Help - by Tomato Cat - 05-10-2013, 03:20 AM



Users browsing this thread: 1 Guest(s)