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 / What is happening with this fps code?

Author
Message
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 9th Jan 2005 22:29
Hi


Im making it so when a bullet you shoot hit an object(object 2) then object 2 is going to be deleted.
But when i try it this way:



And the bullet hits object 2 it quit and say "Object does not exist at line 22"

What is happening?

thanks


The Nerd


looking for Royalty free 3D objects?
then Check PanzerGames at this link : http://www.freewebs.com/panzergames
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 9th Jan 2005 22:43

This line needs object 2 to exist or it won't work.
You need to check if the object ezists, and then execute the line if it does:


Am I the only one here who's really confused?
http://db1games.topcities.com
(used to be demonsbreath)
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 10th Jan 2005 00:07
Thanks it work


The nerd


looking for Royalty free 3D objects?
then Check PanzerGames at this link : http://www.freewebs.com/panzergames

Login to post a reply

Server time is: 2024-11-27 18:52:41
Your offset time is: 2024-11-27 18:52:41