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
Doors
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#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.

Ba-da bing, ba-da boom.
08-20-2011, 10:17 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#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
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#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
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#4
RE: Doors

It is an entity. Sorry guys. xD
DRedshot, thank you, very helpful!
And thank you Palistov as well. Big Grin

Ba-da bing, ba-da boom.
08-21-2011, 12:09 AM
Find




Users browsing this thread: 2 Guest(s)