Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Need help with 2 questions!

Author
Message
Tylerman35
15
Years of Service
User Offline
Joined: 23rd Jul 2009
Location:
Posted: 16th Aug 2009 17:37
how can i make a fire at the top of my gun, so when ever i shoot my gun there is a fire at the top of it? My second question is, when i click anywhere the enemy health goes down, how can i make a dirrect click so i can only click on the object then the health goes down? Please help.
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 16th Aug 2009 17:39
For the first you'd need to put a particle/decal at the limb at the end of the gun barrel.

As for the second, I have no idea what you're talking about.

It's not the world that turns against you, it's you that turns against the world.
puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 16th Aug 2009 20:28
Quote: "when i click anywhere the enemy health goes down, how can i make a dirrect click so i can only click on the object then the health goes down"


You mean like if you are pointing the gun at someone?
Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 16th Aug 2009 20:38
Hmm, i think you are doing the wrong way mate. But if you really want:

the dbPickObject(), would do the trickytrick.

But why not using a collision of the bullet with enemy, then you have more power of wich entity will be affected. And you could use sparkys collision, to do this i believe.

Good Luck

Tylerman35
15
Years of Service
User Offline
Joined: 23rd Jul 2009
Location:
Posted: 17th Aug 2009 04:03
can someone tell me what the syntax is fo dbPickObject(); means?
heyufool1
15
Years of Service
User Offline
Joined: 14th Feb 2009
Location: My quiet place
Posted: 17th Aug 2009 04:06
Look it up in the documentation that comes with Dark GDK. It will be in the Documentation folder in the directory where you installed Dark GDK.

Use Google first... it's not rocket surgery!

Login to post a reply

Server time is: 2024-10-06 07:31:15
Your offset time is: 2024-10-06 07:31:15