![]() |
[SCRIPT] ResetProp on script areas - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] ResetProp on script areas (/thread-18414.html) |
ResetProp on script areas - ooadrianoo - 09-19-2012 Hello, I have a problem. A (or many) script areas doesn´t work, after I died. I tried this: PHP Code: ResetProp("ScriptArea_1"); But the script, that I built into the script area doesn´t work. Is there any solution without setting the bool if the player collides with the area on false? RE: ResetProp on script areas - Your Computer - 09-19-2012 Script areas aren't props, but even if you could reset them, i don't see what that would accomplish anyway. All that is required for the player to interact with a script area in anyway is to be active. If you want the collision callback to be active again after the player dies, then use checkpoints and add the collision callback again to the script area. RE: ResetProp on script areas - ooadrianoo - 09-19-2012 ok thank you |