Jump to content

Trouble with ranged weapon


Recommended Posts

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
Share on other sites

Did you try to remove the projectile component? :p

 

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
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...