The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Problem with lever & mixture
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#1
Problem with lever & mixture

Again, working hard on my custom story, I've run into a problem.

In this part of the map, the player needs to apply an ingredient to a mixture making it complete. I have most of the stuff setup, there is one issue however.

I have an "extaction oven" (I assume FG misspelled extraction) placed where the player must put a pot of an unfinished mixture next to. Then the player must put a bottle of Nitroglycerin in the oven and pull the lever next to it.

It all works, but there are no rules for the lever, it can be pulled any time, even before placing the items.

I need some kind of script which makes the lever only work when both the Nitroglycerin and the half filled pot are placed. I'm guessing that is some "if" script, but I have no idea how to make those kind of scripts. I have no problems with basic scripts so if someone could just give me an example or idea I would really learn from it.

I hope you understand what I mean.

Current - Castle Darkuan
Other - F*cked Map
(This post was last modified: 01-11-2012, 01:37 AM by Shadowfied.)
01-11-2012, 01:36 AM
Find


Messages In This Thread
Problem with lever & mixture - by Shadowfied - 01-11-2012, 01:36 AM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 02:02 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 02:04 AM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 02:47 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 02:50 AM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 02:55 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 09:39 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 12:08 PM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 08:56 PM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 10:56 PM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 11:05 PM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 11:07 PM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 11:08 PM



Users browsing this thread: 1 Guest(s)