[Closed] changing your "Projectile" when gain some "object"
hello guys,,, i working on android game,,, i wanna know how to changing our "Twinstickprojectile" from "circle" to another shape.. what documenttation i must learn??
asked Nov 07 '15 at 01:50 AM in Packaging & Deployment
The question has been closed Jul 01 '16 at 08:40 PM by Samantha Sutton for the following reason:
Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!
heres what you can do, duplicate the projectile blueprint, in the duplicate change the mesh to the shape you desire, in the player blueprint, make new boolean variables for each projectile you have. next, duplicate everything in your players blueprint that pertains to shooting, and in the duplicated part change the spawning projectile part to spawning your new duplicated projectile. After that, add a branch node to each of the shooting projectile parts. plug your first boolean variable into the red part of the first branch, and plug the other boolean variable into the red pin of the other branch. make the default value of the first boolean true and the second one false. plug the true part of your first brnach into the original set of projectile nodes, and plug the false part into the input for your second branch. In the second branch, plug the true part into all the duplicated nodes for spawning the new projectile.
answered Nov 09 '15 at 04:30 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here