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
How to make Script puzzles?
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#19
RE: How to make Script puzzles?

(06-23-2011, 02:30 PM)rojkish Wrote: I see what's wrong with the script now, you should use AreaSecretBook_1 on SecretBook_1, because right now, you've used AreaSecretBook_2 on SecretBook_1.

Let me explain this further;

for(int i=1;i<=3;i++) AddEntityCollideCallback("SecretBook_"+i, "AreaSecretBook_"+i, "CollideSecretBook", false, 0);

for(int i=1;i<=3;i++) <- this means that they'll be three script areas/books. i.e;

Spoiler below!


AddEntityCollideCallback("SecretBook_1", "AreaSecretBook_1", "CollideSecretBook", false, 0);
AddEntityCollideCallback("SecretBook_2", "AreaSecretBook_2", "CollideSecretBook", false, 0);
AddEntityCollideCallback("SecretBook_3", "AreaSecretBook_3", "CollideSecretBook", false, 0);



But since SecretBook_1 doesn't collide with AreaSecretBook_1, it buggs. So if you want to fix it, rename the areas so they match the books.

Also, if you want it too look even better, remember to use the mansion_extension wall over the regular mansion_02.

Oh my god it works now! Thanks! Tongue


“Life is a game, play it”
06-23-2011, 02:42 PM
Find


Messages In This Thread
How to make Script puzzles? - by HumiliatioN - 06-21-2011, 03:51 PM
RE: How to make Script puzzles? - by WatzUpzPeepz - 06-21-2011, 04:18 PM
RE: How to make Script puzzles? - by HumiliatioN - 06-21-2011, 04:20 PM
RE: How to make Script puzzles? - by Nye - 06-21-2011, 04:21 PM
RE: How to make Script puzzles? - by HumiliatioN - 06-21-2011, 04:26 PM
RE: How to make Script puzzles? - by rojkish - 06-21-2011, 07:16 PM
RE: How to make Script puzzles? - by HumiliatioN - 06-22-2011, 01:08 PM
RE: How to make Script puzzles? - by laser50 - 06-22-2011, 02:06 PM
RE: How to make Script puzzles? - by HumiliatioN - 06-22-2011, 10:23 PM
RE: How to make Script puzzles? - by rojkish - 06-23-2011, 01:26 AM
RE: How to make Script puzzles? - by HumiliatioN - 06-23-2011, 03:04 AM
RE: How to make Script puzzles? - by rojkish - 06-23-2011, 03:17 AM
RE: How to make Script puzzles? - by HumiliatioN - 06-23-2011, 03:29 AM
RE: How to make Script puzzles? - by rojkish - 06-23-2011, 03:35 AM
RE: How to make Script puzzles? - by HumiliatioN - 06-23-2011, 11:01 AM
RE: How to make Script puzzles? - by rojkish - 06-23-2011, 01:40 PM
RE: How to make Script puzzles? - by HumiliatioN - 06-23-2011, 02:19 PM
RE: How to make Script puzzles? - by rojkish - 06-23-2011, 02:30 PM
RE: How to make Script puzzles? - by HumiliatioN - 06-23-2011, 02:42 PM



Users browsing this thread: 2 Guest(s)