Thread: The GK bow
View Single Post
  #6  
Old 02-27-2004, 03:46 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally posted by Gman4pwnu
I know how to use shoot. I just need an algorithm for the z
you mean the z value you give in the shoot function after the x and y? that is the player's z, it's part of the initial position of your projectile

Quote:
and the power to match mouse location.
Ouch, that requires knowledge of some (basic) physics, I won't give this to you since most likely you'll just copy and paste and that takes all the fun out of me teaching it to you , meh there have been some decent bow scripts posted on here anywho

hmm, I just realized I never finished my physics tutorial on projectiles... darn
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote