May 23, 2012, 05:07:33 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please report any bugs or issues that you might be encountering with the Beta in the Support System so that we can better keep track of any oustanding issues that may come up.

GameCore Support System
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to make enemy throw knife?  (Read 311 times)
Warchief
Newbie
*
Posts: 5


View Profile
« on: January 19, 2011, 12:13:09 PM »

I'm newbie. I want to make enemy throw knife but I don't know how to do with it.

How to make enemy throw knife? Can anyone help me?
Logged
LutinMalefique
Full Member
***
Posts: 146



View Profile WWW
« Reply #1 on: January 20, 2011, 03:06:18 AM »

hi,
for throwing an object you may use the "AddObject" function : you create a new object in the world when you need it. It's what is used to throw grenade in the "weapon_handheld.gsl" script provide with gamecore.


Logged

http://lutinmalefique.wordpress.com/
"Just remember: a damn game can be played, and if you have not created something that can be played, it's not a damn game!" Derek Yu
Pages: [1]
  Print  
 
Jump to:  

 
Powered by MySQL Powered by PHP bluBlur Skin © 2006, hbSkins
Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!