playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Can't disable a specific script with Enable Behavior
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Can't disable a specific script with Enable Behavior (Read 880 times)
SawyerK
Junior Playmaker
Posts: 93
Can't disable a specific script with Enable Behavior
«
on:
March 28, 2020, 04:49:02 PM »
I have a carController script that i want to disable when the FP character is not in the car, but for some reason it doesn't let me. Enable Behavior works perfectly with any other script except this one. Even when the carController is disabled in the Inspector it re-enables itself when i hit play. I found out that the script Car Dynamics uses the carController script so if i disable that i can disable the carController as well, the problem is if I disable carDynamics it starts sliding and bouncing like crazy. I solved this problem briefly with setting isKinematic true, but i need a better solution. Is there a way to overwrite a script with FSM?
Logged
djaydino
Administrator
Hero Member
Posts: 7624
Re: Can't disable a specific script with Enable Behavior
«
Reply #1 on:
March 29, 2020, 04:28:42 AM »
Hi.
You will probably need to edit the script to do this
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Can't disable a specific script with Enable Behavior