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
Script Help ResetProp on script areas
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#1
ResetProp on script areas

Hello, I have a problem.
A (or many) script areas doesn´t work, after I died.
I tried this:
PHP Code: (Select All)
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?
09-19-2012, 08:49 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: ResetProp on script areas

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.

Tutorials: From Noob to Pro
09-19-2012, 08:58 PM
Website Find
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#3
RE: ResetProp on script areas

ok thank you
09-19-2012, 09:03 PM
Find




Users browsing this thread: 1 Guest(s)