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
If All Candles Inactive, Fade To Black Script?
FurtherGames Offline
Member

Posts: 72
Threads: 23
Joined: Apr 2013
Reputation: 1
#1
Wink  If All Candles Inactive, Fade To Black Script?

Hello, again!

Is there a script so that if, for example, there are three candles in a room. To blow them out the player must collide with the script area surrounding that candle. Basically, when the player collides with the area it renders the candle inactive. Is there a way so that once all candles are inactive the screen fades to black? Like this:

Walks over to Candle 1 Area - Blows the candle out
Candle2&3 still active, so no Fade To Black

Walks over to Candle 2 Area - Blows the candle out
Candle3 still active, so no Fade To Black

Walks over to Candle 3 Area - Blows the candle out
All candles inactive, fade to black occurs

Also, would it matter if the player did blew the candles out in a random order?
(This post was last modified: 05-04-2013, 01:04 PM by FurtherGames.)
05-04-2013, 12:43 PM
Find


Messages In This Thread
If All Candles Inactive, Fade To Black Script? - by FurtherGames - 05-04-2013, 12:43 PM



Users browsing this thread: 1 Guest(s)