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 when loading map
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#10
RE: Problem when loading map

If you use that book lever, let me take a look at the offcial maps, I will edit this post soon.

[edit]
The developers made it a bit different for that.
They created a script area in front of the book (in the direction you pull it) and made a normal EntityCollideCallback with the book.
for(int i=1;i<=3;i++) AddEntityCollideCallback("SecretBook_"+i, "AreaSecretBook_"+i, "CollideSecretBook", false, 0);    //Pull books to reveal room
(Use
AddEntityCollideCallback("leverbooks_01", "NameOfYourScriptAreaHere", "NameOfYourCollideCallbackHere", false, 0);
for your script)

In that callback function they got a
SetPropObjectStuckState(asParent, 1);
which makes the book unmoveable (change asParent to "leverbooks_01" if you are not completly sure what this does).

(This post was last modified: 03-04-2011, 05:26 PM by Pandemoneus.)
03-04-2011, 05:15 PM
Find


Messages In This Thread
Problem when loading map - by Viperdream - 03-02-2011, 05:34 PM
RE: Problem when loading map - by Oscar House - 03-02-2011, 05:44 PM
RE: Problem when loading map - by Viperdream - 03-02-2011, 06:24 PM
RE: Problem when loading map - by nkmol - 03-02-2011, 09:01 PM
RE: Problem when loading map - by Pandemoneus - 03-02-2011, 09:02 PM
RE: Problem when loading map - by nkmol - 03-02-2011, 09:16 PM
RE: Problem when loading map - by Viperdream - 03-03-2011, 08:33 PM
RE: Problem when loading map - by Nye - 03-04-2011, 01:34 AM
RE: Problem when loading map - by Viperdream - 03-04-2011, 04:35 PM
RE: Problem when loading map - by Pandemoneus - 03-04-2011, 05:15 PM
RE: Problem when loading map - by Viperdream - 03-04-2011, 06:08 PM



Users browsing this thread: 2 Guest(s)