Frictional Games Forum (read-only)

Full Version: Disable/enable ladder interaction?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It seems that players can still climb a ladder area that's been set "inactive," so is there any other way to keep a player from interacting with a ladder area until something triggers it?

I have a ladder area that's set up behind a breakable cell wall, and want the player to destroy the wall before climbing down the ladder, but it seems like all they have to do is look through the hole and click the ladder to proceed. I've tried putting a large block_box in the way, but I can still reach through it to click the ladder.
In my story Deterioration, I could definitely set a LadderArea to inactive and have it switch states via a script, so I can't tell you why it doesn't work. It really should. Are you sure you got the names right? Perhaps you made a typo.
Make sure you dont have 2 areas on the same place!
//////////////
The script to activate/deactivate any areas or entities is:

SetEntityActive("LadderArea_1", false);

false = inactive

true = active
Hmm, that seems to be working now. I don't know why it wouldn't before! Maybe I forgot to save. Thanks guys!