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.

DarkBASIC Discussion / firing problems

Author
Message
Bob_42
18
Years of Service
User Offline
Joined: 15th Sep 2006
Location: Guernsey
Posted: 24th Sep 2006 17:27
i am making a game that is based off of cnc generals:zero hour, but it is more of an fps than a rts, but anyway, i am just trying to get the basics done and i have run into a small problem...

i have added some code that baiscally says when space is pressed the tank should fire, and when the shell is lower than the matrix then an explosion should be triggered, this all works fines, the shell is fired it goes to the marker and explodes, but when i try and fire a second shell for some reason it explodes where it generated rather than the travelling to the marker and exploding, i have looked thorugh my code and i can't find the problem, maybe someone with a more experienced eye can spot the problem...



NOTE: yeah i know my code is a mess

Login to post a reply

Server time is: 2025-05-26 03:17:46
Your offset time is: 2025-05-26 03:17:46