So I've been working on a script using the extra_rc.hpp script to make a new tool function. A headlamp or lantern if you prefer. (In effect it is really more like the latter.) The lamp part works perfectly, but I am unable to shut it off afterwards. Here is what I have so far:
It never makes it to "Headlamp OFF". It is having trouble detaching the light from the player and it can't delete it while it is attached. Any ideas? Am I just using the command wrong?
Question
saintanthony
So I've been working on a script using the extra_rc.hpp script to make a new tool function. A headlamp or lantern if you prefer. (In effect it is really more like the latter.) The lamp part works perfectly, but I am unable to shut it off afterwards. Here is what I have so far:
It never makes it to "Headlamp OFF". It is having trouble detaching the light from the player and it can't delete it while it is attached. Any ideas? Am I just using the command wrong?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now