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.

Newcomers DBPro Corner / Gun magazines and timing their decreases

Author
Message
bass guy1669
17
Years of Service
User Offline
Joined: 24th Mar 2007
Location: The Zone
Posted: 22nd Jan 2008 23:12
Can anyone help with this magazine code. it goes down but i want it to shoot only when the shootwait variable is smaller than 1.
here is the code

main.dba

shooting.dba


come see night shift at http://forum.thegamecreators.com/?m=forum_view&t=106003&b=25 see you there
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 23rd Jan 2008 02:16
Did you declare the variable 'shootwait' as global (I don't see it in the code you posted)? If not, you also ought to look at other variables within the functions too.

LB

Login to post a reply

Server time is: 2024-11-26 04:32:02
Your offset time is: 2024-11-26 04:32:02