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 Professional Discussion / INC object position to position object twice

Author
Message
Daniel wright 2311
User Banned
Posted: 29th Apr 2011 23:14 Edited at: 29th Apr 2011 23:15
So basicly what I am asking is with this code here is there a better way to code it.

I was hoping for a way to define ten diffrent positons some how then inc the said positions so when my enimy dies I can reposition him to the next inc position.here is what I am doing now.Thanks guys



my signature keeps being erased by a mod So this is my new signature.
Daniel wright 2311
User Banned
Posted: 29th Apr 2011 23:49 Edited at: 29th Apr 2011 23:59
i figured this out, thanks any how guys

here was my solution



my signature keeps being erased by a mod So this is my new signature.
WLGfx
18
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 30th Apr 2011 03:08
You could also use the 'switch' and 'case' on your eposition variable.

Warning! May contain Nuts!

Login to post a reply

Server time is: 2026-07-11 12:20:49
Your offset time is: 2026-07-11 12:20:49