Frictional Games Forum (read-only)

Full Version: Getting picture to stay on the wall
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i am wanting to put a
picture on a secret wall hiding the hole, but every time i test the map it falls off, I've put it as close to the wall i can without it falling off
(01-19-2013, 04:22 PM)stokesie95 Wrote: [ -> ]i am wanting to put a
picture on a secret wall hiding the hole, but every time i test the map it falls off, I've put it as close to the wall i can without it falling off

What's the name of the picture you're using?
if it's painting03_dynamic then you should choose the "painting03" one.
Go to the second tab of the entity settings and select 'static physics'. Then, when you want that painting to come off the wall, use the SetPropStaticPhysics function in your .hpl file. If you want the painting to come off when you touch it, create a script area roughly the size of the painting and have it be interactable with a function in the .hpl that uses the SetPropStaticPhysics line mentioned above.
Just... do what he said Blush