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 Areas
MegaScience Offline
Member

Posts: 213
Threads: 1
Joined: Aug 2011
Reputation: 2
#8
RE: Script Areas

(08-28-2011, 02:04 PM)JenniferOrange Wrote: You need to put 2 script areas: when you collide with the first one, it will activate the second one. But if you want it to activate when you pick up a note, then you will only need 1 script area.
Use AddEntityCollideCallback making the entity Player and the entity it collides with the name of the note. Use OnPickup as the function. Place the script area that will trigger your earthquake where you'd like it and make sure it's inactive. Under the AddEntityCollideCallback mentioned above, use SetEntityActive with the name of your script area. Now you just have to make an AddEntityCollideCallback for the now active script area. Smile if you're confused tell me, I'll fire up my computer and make the whole code for you. (I'm using mobile and my memory)
P.S. I worked with JetlinerX to create that scare you're talking about. Smile I also did the door explode in your face scare with him.

Do you agree that guy should have slowed down during the playthrough, then? D: I felt bad for him, rushed so hard he missed the most obvious door for the key, then spent the rest of that video and the next trying to use it on all the wrong doors.

My advice: Can you ask the creator to put out an update to Chapter one where there's a key to the next level so you can't skip that room and be stuck with that key? Or have it removed? Because that was frustrating to watch...
08-28-2011, 02:18 PM
Find


Messages In This Thread
Script Areas - by ZRPT - 08-28-2011, 07:28 AM
RE: Script Areas - by GreyFox - 08-28-2011, 07:55 AM
RE: Script Areas - by ZRPT - 08-28-2011, 08:04 AM
RE: Script Areas - by Obliviator27 - 08-28-2011, 08:12 AM
RE: Script Areas - by ZRPT - 08-28-2011, 08:27 AM
RE: Script Areas - by MegaScience - 08-28-2011, 01:11 PM
RE: Script Areas - by JenniferOrange - 08-28-2011, 02:04 PM
RE: Script Areas - by MegaScience - 08-28-2011, 02:18 PM
RE: Script Areas - by JenniferOrange - 08-28-2011, 02:31 PM
RE: Script Areas - by MegaScience - 08-28-2011, 03:06 PM
RE: Script Areas - by JetlinerX - 08-28-2011, 04:51 PM
RE: Script Areas - by MegaScience - 08-28-2011, 05:26 PM
RE: Script Areas - by JetlinerX - 08-28-2011, 06:10 PM
RE: Script Areas - by MegaScience - 08-28-2011, 06:12 PM
RE: Script Areas - by ZRPT - 08-29-2011, 03:08 PM



Users browsing this thread: 1 Guest(s)