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
Script Help Can't progress without picking up note+key Script?
FurtherGames Offline
Member

Posts: 72
Threads: 23
Joined: Apr 2013
Reputation: 1
#1
Exclamation  Can't progress without picking up note+key Script?

I'll try to keep my posts to a minimal. Can't believe I've been working on this map for around 2-3 months. Maybe a bit more. Still haven't finished the first map. I'm close to finishing, I just want to add a few small tweaks which will make the custom story more complete and special.

Basically, the character starts in the hotel reception. Before he can walk over to the Room Corridor, he must first pick up the note and key. The note tells him where is Room Key is and the key is in the top drawer. I want a script so that if the character tries to go towards the Room Corridor before he picks up the note, it turns the screen to look at the note and a message is displayed saying "I best pick up that note first."

Then once he reads the note and tries to go to the Room Corridor before picking up the key, screen turns to basically look at the same part (Because of the angle) and a message "I'm going to need my key."

I know how to display the message & make the character look at a script area, plus how to use a timer. I just don't know how to trigger a script and make it so two different things show up, depending if he has picked up the key or note or whatever.
02-03-2014, 09:26 PM
Find


Messages In This Thread
Can't progress without picking up note+key Script? - by FurtherGames - 02-03-2014, 09:26 PM



Users browsing this thread: 1 Guest(s)