1 How do I spawn a muzzle flash at a bone
2 how do I swap a weapon is there a weap.swapto(' ')
3 how do i do it if you know that u dont do it
4 how do u not do it if i cant do it
3and4 lol
Orixa Wrote:1 How do I spawn a muzzle flash at a bone
2 how do I swap a weapon is there a weap.swapto(' ')
3 how do i do it if you know that u dont do it
4 how do u not do it if i cant do it
3and4 lol
Please, no more 3s and 4s
1. What kind of muzzle flash? A particle flash? If so, that's easy, build the particle, then attach it to the fire animation. When you are working with the animation, at each pose, there's the ability to spawn particles at a bone. Do it there and you never have to worry about scripting it. Check out the pistol for an example.
2. There is a weapon swap, but it's for picking up items and swapping weapons. If this is what you want, you just create an object that is the pickup weapon, and when it's picked up, you use:
Code:
obj.pickup.swapWeapon(objectId,weaponName);
Check the weapon script for how to start a weapon pickup.
[>] Brian
:)Thanks thats exactly what I ment