- Home /
Question by
The-W.A.T.Z.R · Apr 13, 2014 at 09:35 PM ·
javascripttriggerdisableenable
collider trigger to disable/enable script
hello in my project, I try to make a safe zone. and I try to turn off the damage script. and I have tried now in 6H to find information and I found one. but I still get errors.
and the errors look like this:
Assets/aa.js(5,23): BCE0005: Unknown identifier: 'vp_PlayerDamageHandler'.
Assets/aa.js(12,23): BCE0005: Unknown identifier: 'vp_PlayerDamageHandler'.
i am not good at scripting so be easy on me :) ThX
Comment
The errors are telling you the vp_Player... stuff is not properly setup; your code link didn't work but if you go through a tut on GetComponent and script to script references, this should all be pretty clear.
Best Answer
Answer by Birdbrain 2 · Apr 14, 2014 at 02:07 AM
Try putting the name of the script that you are trying to access in quotes.