Jump to content

Recommended Posts

I could use below but I'd like to make my own.

weapon.components.weapon:SetProjectile("bishop_charge")

How does one do such?

Thanks.

 

Edit: bishop_charge itself is a prefab and it has SetBank("bishop_attack") and SetBuild of same name. It also has "projectile" component.

I imagine I need to create a new animation using Spriter.

Edited by SenL
On 6/5/2022 at 5:52 PM, SenL said:

I imagine I need to create a new animation using Spriter.

If you want a new attack fx, yes. You can edit the build and use the same animation, or use other projectiles, etc. It's up to your creativity. Them you should create a new prefab with the projectile component (Just use others as a template)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...