PK_Azlon Posted February 14, 2014 Posted February 14, 2014 I want to create shooting range targets hanging from the ceiling that flip up 90 degrees when shot, wait a few seconds then flip back to the starting position. I Have a basic understanding of the rotation part, but what I don't know is how to trigger the rotation when the target is shot.
MoonDog Posted February 14, 2014 Posted February 14, 2014 How many times do you want them to flip back down after being shot? Do you want the range to be resettable at any point in time? Doing what you are asking in itself is simple, but adding in diversity and accounting for player choice complicates the matter a bit.
eezstreet Posted February 14, 2014 Posted February 14, 2014 You could make it into a func_door, giving it health values and no movement and a script_targetname. The func_door would target a target_scriptrunner which in turn performs the rotating on the door using an affect() block (I think).I think func_static might have a health value too, but not sure.
PK_Azlon Posted February 14, 2014 Author Posted February 14, 2014 Thanks for the replies. I'll look into it and get back to you.
PK_Azlon Posted February 14, 2014 Author Posted February 14, 2014 Umm, @eezstreet how do I set the func_door with no movement?
Boothand Posted February 15, 2014 Posted February 15, 2014 Umm, @eezstreet how do I set the func_door with no movement? You could maybe go with a func_usable instead with the always_on spawnflag. Give it health "-1", usescript "folder/script" and a script_targetname. Func_static doesn't seem to work with health when I tested it.
PK_Azlon Posted February 15, 2014 Author Posted February 15, 2014 Ok I tried the func_useable with these settings. It flips up and stays that way. It doesn't run the rest of the script (wait 4 seconds and then flip back down).
mrwonko Posted February 15, 2014 Posted February 15, 2014 Ok I tried the func_useable with these settings. It flips up and stays that way. It doesn't run the rest of the script (wait 4 seconds and then flip back down).That must be the script's fault.
PK_Azlon Posted February 15, 2014 Author Posted February 15, 2014 That must be the script's fault.It flips back down when I use a func_door so I doubt that.
mrwonko Posted February 15, 2014 Posted February 15, 2014 Well until you post an example we'll never know... PK_Azlon likes this
PK_Azlon Posted February 15, 2014 Author Posted February 15, 2014 http://jkhub.org/topic/3619-flip-up-target/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now