AfrostLord Posted June 27, 2015 Share Posted June 27, 2015 I'm trying to add a ranged weapon that fires a projectile (similar to the blowdart). However, after setting the weapon as ranged, the character throws the weapon (i.e. the weapon becomes the projectile) rather than creating its own projectile. How do I make it use a unique projectile? While on that note, how do I make it so that you don't lose the weapon after use? (It's supposed to run on sanity rather than ammo). Link to comment https://forums.kleientertainment.com/forums/topic/55716-trouble-with-ranged-weapon/ Share on other sites More sharing options...
Mobbstar Posted June 28, 2015 Share Posted June 28, 2015 Did you try to remove the projectile component? Weapons that have a declared projectile (prefab name) will spawn and throw that projectile. As such, you probably want to make a projectile prefab or use an existing one (like the bishop's charge, cave spider spit, etc.). Link to comment https://forums.kleientertainment.com/forums/topic/55716-trouble-with-ranged-weapon/#findComment-650472 Share on other sites More sharing options...
AfrostLord Posted June 28, 2015 Author Share Posted June 28, 2015 Thanks a lot, I got it working <3 Link to comment https://forums.kleientertainment.com/forums/topic/55716-trouble-with-ranged-weapon/#findComment-650495 Share on other sites More sharing options...
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