Quantcast

Jump to content

» «
Photo

Throw object upwards/downwards

2 replies to this topic
Nahiyan
  • Nahiyan

    I'm awesome, and I'm a scripter

  • Members
  • Joined: 15 Oct 2010

#1

Posted 01 November 2010 - 11:46 AM

Sooo yeah ummm how do I throw an object upwards/downwards depending on the player's y angle?
I need to put it in for a script i'm making, but can't release until I make it do this.

Uhhh thanks!

BnB
  • BnB

    The Yardies

  • Members
  • Joined: 28 Jun 2010
  • Saint-Vincent-and-the-Grenadines

#2

Posted 01 November 2010 - 01:43 PM

CODE
0381: throw_object 0@ velocity_in_direction 0.0 0.0 100.0

Try this!

yair1221
  • yair1221

    Homie

  • Members
  • Joined: 18 Feb 2010

#3

Posted 01 November 2010 - 03:21 PM

according to the player's y angle?
well...i guess you COULD store coords then use "move object"
but maybe there is alot more complicated and alot better way to do that tounge.gif




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users