Frictional Games Forum (read-only)

Full Version: ResetProp on script areas
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I have a problem.
A (or many) script areas doesn´t work, after I died.
I tried this:
PHP Code:
ResetProp("ScriptArea_1");
SetEntityActive("ScriptArea_1"true); 

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?
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.
ok thank you