Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Doors
Author Message
JenniferOrange Offline
Senior Member

Posts: 428
Joined: Jun 2011
Reputation: 33
Post: #1
Doors
Just a quick question..
How does the castle base secret door work? It's under static objects. I've tried using it, and I kind of assumed you'd push it or break it down or something but nothing happens. -___-
Do I have to add like a PlayerInteractCallback so when you throw some rocks at it, it breaks? idk.

[Image: button.png]
08-20-2011 10:17 PM
Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,175
Joined: Mar 2011
Reputation: 56
Post: #2
RE: Doors
If it's in static objects you can't interact with it. If you want to create a secret door you'll need to use an entity.

I believe they're under the 'special' category, if not then check 'gameplay'

08-20-2011 10:43 PM
Find all posts by this user Quote this message in a reply
DRedshot Offline
Senior Member

Posts: 373
Joined: Jun 2011
Reputation: 11
Post: #3
RE: Doors
the castle base secret door is one of those upwards moving doors, like the portcullis ones in the water monster part. To move these, use the SetMoveObjectState OR SetMoveObjectStateExt functions, and set the move value to a suitable number ( 0 = closed, 1 = open ) other float values can be used, and the Ext version gives you more choices Smile

Edit: I might be wrong but I thought the Secret door was an entity, not a static object?

(This post was last modified: 08-20-2011 11:31 PM by DRedshot.)
08-20-2011 11:27 PM
Find all posts by this user Quote this message in a reply
JenniferOrange Offline
Senior Member

Posts: 428
Joined: Jun 2011
Reputation: 33
Post: #4
RE: Doors
It is an entity. Sorry guys. xD
DRedshot, thank you, very helpful!
And thank you Palistov as well. Big Grin

[Image: button.png]
08-21-2011 12:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)